Home
last modified time | relevance | path

Searched +full:- +full:wno +full:- +full:error (Results 1 – 25 of 503) sorted by relevance

12345678910>>...21

/external/ltp/
DAndroid.bp8 // http://www.apache.org/licenses/LICENSE-2.0
33 "-include bionic-compat.h",
35 "-Wall",
36 "-Werror",
38 "-Wno-error=absolute-value",
39 "-Wno-error=undefined-internal",
40 "-Wno-error=uninitialized",
41 "-Wno-error=user-defined-warnings",
43 "-Wno-constant-conversion",
44 "-Wno-deprecated",
[all …]
/external/clang/test/Misc/
Ddiag-mapping2.c5 // RUN: %clang_cc1 %s -w 2>&1 | not grep diagnostic
6 // RUN: %clang_cc1 %s -Wno-#warnings 2>&1 | not grep diagnostic
8 // -Werror can map all warnings to error.
9 // RUN: not %clang_cc1 %s -Werror 2>&1 | grep "error: foo"
11 // -Werror can map this one warning to error.
12 // RUN: not %clang_cc1 %s -Werror=#warnings 2>&1 | grep "error: foo"
14 // -Wno-error= overrides -Werror. rdar://3158301
15 // RUN: %clang_cc1 %s -Werror -Wno-error=#warnings 2>&1 | grep "warning: foo"
17 // -Wno-error overrides -Werror. PR4715
18 // RUN: %clang_cc1 %s -Werror -Wno-error 2>&1 | grep "warning: foo"
Dwarning-flags-enabled.c1 // RUN: diagtool show-enabled %s | FileCheck %s
11 // RUN: diagtool show-enabled -Wno-everything %s | count 0
14 // RUN: diagtool show-enabled -Wno-everything -Wobjc-root-class %s | FileCheck -check-prefix CHECK-
15 // RUN: diagtool show-enabled -Wno-everything -Werror=objc-root-class %s | FileCheck -check-prefix …
16 // RUN: diagtool show-enabled -Wno-everything -Wfatal-errors=objc-root-class %s | FileCheck -check-
18 // CHECK-WARN: W warn_objc_root_class_missing [-Wobjc-root-class]
19 // CHECK-ERROR: E warn_objc_root_class_missing [-Wobjc-root-class]
20 // CHECK-FATAL: F warn_objc_root_class_missing [-Wobjc-root-class]
22 // RUN: diagtool show-enabled --no-levels -Wno-everything -Wobjc-root-class %s | FileCheck -check-p…
24 // CHECK-NO-LEVELS-NOT: W
[all …]
Ddiag-mapping.c4 // RUN: %clang_cc1 %s -Wno-extra-tokens 2>&1 | not grep diagnostic
6 // -Werror can map all warnings to error.
7 // RUN: not %clang_cc1 %s -Werror 2>&1 | grep "error:"
9 // -Werror can map this one warning to error.
10 // RUN: not %clang_cc1 %s -Werror=extra-tokens 2>&1 | grep "error:"
13 // RUN: %clang_cc1 %s -Werror=trigraphs 2>&1 | grep "warning:"
15 // This should stay a warning with -pedantic.
16 // RUN: %clang_cc1 %s -pedantic 2>&1 | grep "warning:"
18 // This should emit an error with -pedantic-errors.
19 // RUN: not %clang_cc1 %s -pedantic-errors 2>&1 | grep "error:"
[all …]
/external/clang/test/Sema/
Dthread-specifier.c1 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic %s…
2 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x…
3 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic %s…
4 …RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c…
5 …ang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -D…
6 …lang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -
17 // expected-warning@-3 {{'__thread' before 'extern'}}
18 // expected-warning@-3 {{'__thread' before 'static'}}
24 // expected-error-re@-2 {{'{{__thread|_Thread_local|thread_local}}' is only allowed on variable dec…
27 // expected-error@-5 {{type name does not allow storage class to be specified}}
[all …]
/external/e2fsprogs/lib/blkid/
DAndroid.bp8 defaults: ["e2fsprogs-defaults"],
29 "-Wno-pointer-to-int-cast",
30 "-Wno-unused-variable",
33 "-Wno-error=typedef-redefinition",
40 "-Wno-error=attributes",
41 "-Wno-error=pointer-sign",
42 "-Wno-unused-parameter",
43 "-fno-strict-aliasing",
46 header_libs: ["libext2-headers"],
48 export_header_lib_headers: ["libext2-headers"],
/external/clang/test/SemaCXX/
Dwritable-strings-deprecated.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify %s -DWARNING
2 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -verify %s -DWARNING
3 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -Wno-deprecated-writable-strings -verify %s
4 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -Wno-deprecated -Wdeprecated-increment-bool -verify %s
5 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -fwritable-strings -verify %s
6 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -Wno-write-strings -verify %s
7 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -Werror=c++11-compat -verify %s -DERROR
8 // RUN: %clang_cc1 -fsyntax-only -std=c++98 -Werror=deprecated -Wno-error=deprecated-increment-bool…
9 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -DWARNING
10 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -Wno-deprecated -Wdeprecated-increment-bool
[all …]
Ddecl-expr-ambiguity.cpp1 // RUN: %clang_cc1 -Wno-int-to-pointer-cast -fsyntax-only -verify -pedantic-errors %s
2 // RUN: %clang_cc1 -Wno-int-to-pointer-cast -fsyntax-only -verify -pedantic-errors -std=gnu++98 %s
3 // RUN: %clang_cc1 -Wno-int-to-pointer-cast -fsyntax-only -verify -pedantic-errors -std=gnu++11 %s
4 // RUN: %clang_cc1 -Wno-int-to-pointer-cast -fsyntax-only -verify -pedantic-errors -x objective-c++…
12 T(a)->m = 7; in f()
13 int(a)++; // expected-error {{assignment to cast is illegal}} in f()
14 __extension__ int(a)++; // expected-error {{assignment to cast is illegal}} in f()
15 __typeof(int)(a,5)<<a; // expected-error {{excess elements in scalar initializer}} in f()
18 for (int(a)+1;;) {} // expected-warning {{expression result unused}} in f()
21 typeof(int()+1) a2; // expected-error {{extension used}} in f()
[all …]
Dvararg-non-pod.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s -Wno-error=non-pod-varargs
2 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++98 %s -Wno-error=non-pod-varargs
3 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++11 %s -Wno-error=non-pod-varargs
5 // Check that the warning is still there under -fms-compatibility.
6 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s -Wno-error=non-pod-varargs -fms-compatibility
7 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++98 %s -Wno-error=non-pod-varargs -fms-com…
8 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++11 %s -Wno-error=non-pod-varargs -fms-com…
27 …// expected-warning@-2 {{cannot pass object of non-POD type 'C' through variadic function; call wi… in t1()
35 …// expected-warning@-2 {{cannot pass object of non-POD type 'C' through variadic function; call wi… in t1()
47 …// expected-warning@-2 {{cannot pass object of non-POD type 'C' through variadic method; call will… in t2()
[all …]
/external/mdnsresponder/
DAndroid.bp10 "-O2",
11 "-g",
12 "-fno-strict-aliasing",
13 "-fwrapv",
14 "-D_GNU_SOURCE",
15 "-DHAVE_IPV6",
16 "-DNOT_HAVE_SA_LEN",
17 "-DPLATFORM_NO_RLIMIT",
18 "-DMDNS_DEBUGMSGS=0",
19 "-DMDNS_UDS_SERVERPATH=\"/dev/socket/mdnsd\"",
[all …]
/external/libusb/
DAndroid.bp21 "-Wall",
22 "-Wno-error=sign-compare",
23 "-Wno-error=switch",
41 cflags: ["-Werror"],
56 "-framework CoreFoundation",
57 "-framework IOKit",
58 "-lobjc"
62 "-Wno-unused-parameter",
63 "-Wno-deprecated-declarations"
72 cflags: ["-Werror"],
[all …]
/external/mesa3d/
DAndroid.common.mk1 # Mesa 3-D graphics library
3 # Copyright (C) 2010-2011 Chia-I Wu <olvaffe@gmail.com>
4 # Copyright (C) 2010-2011 LunarG Inc.
25 LOCAL_CFLAGS += -D_GNU_SOURCE
34 -Wno-error \
35 -Wno-unused-parameter \
36 -Wno-pointer-arith \
37 -Wno-missing-field-initializers \
38 -Wno-initializer-overrides \
39 -Wno-mismatched-tags \
[all …]
/external/clang/test/Lexer/
Dlong-long.cpp1 /* RUN: %clang_cc1 -x c -std=c89 -fsyntax-only -verify -pedantic-errors -Wno-empty-translation-
2 …* RUN: %clang_cc1 -x c -std=c99 -fsyntax-only -verify -pedantic-errors -Wno-empty-translation-
3 …* RUN: %clang_cc1 -x c++ -std=c++98 -fsyntax-only -verify -pedantic-errors -Wno-empty-translation-
4 …* RUN: %clang_cc1 -x c++ -std=c++11 -fsyntax-only -verify -Wc++98-compat-pedantic -Wno-empty-trans…
9 /* expected-error@21 {{'long long' is an extension when C99 mode is not enabled}} */
11 /* expected-no-diagnostics */
15 /* expected-error@21 {{'long long' is a C++11 extension}} */
17 /* expected-warning@21 {{'long long' is incompatible with C++98}} */
22 # error should not happen
/external/compiler-rt/lib/asan/
DAndroid.bp8 // http://www.apache.org/licenses/LICENSE-2.0
48 "-fvisibility=hidden",
49 "-fno-exceptions",
50 "-DASAN_LOW_MEMORY=1",
51 "-DASAN_NEEDS_SEGV=" + ASAN_NEEDS_SEGV,
52 "-DASAN_HAS_EXCEPTIONS=" + ASAN_HAS_EXCEPTIONS,
53 "-DASAN_FLEXIBLE_MAPPING_AND_OFFSET=" + ASAN_FLEXIBLE_MAPPING_AND_OFFSET,
54 "-Wall",
55 "-Werror",
56 "-Wno-covered-switch-default",
[all …]
/external/openssh/
DAndroid.mk1 LOCAL_PATH:= $(call my-dir)
4 -Wall \
5 -Werror \
6 -Wno-error=implicit-function-declaration \
7 -Wno-pointer-sign \
8 -Wno-sign-compare \
9 -Wno-type-limits \
10 -Wno-unused-parameter \
11 -Wno-unused-variable \
12 -Wno-error \
[all …]
/external/clang/test/Parser/
Dobjc-init.m1 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-fragile -verify -pedantic -Wno-objc-root-cla…
2 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-fragile -verify -x objective-c++ -Wno-objc-r…
3 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-fragile -verify -x objective-c++ -Wno-objc-r…
4 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-fragile -verify -x objective-c++ -Wno-objc-r…
8 - () METH;
9 - (unsigned) METH2;
20 void test2(NSNumber x) { // expected-error {{interface type 'NSNumber' cannot be passed by value; d…
36 [4][NSNumber METH2]+2, // expected-warning {{use of GNU 'missing =' extension in designator}}
37 [4][x METH2]+2 // expected-warning {{use of GNU 'missing =' extension in designator}}
43 …// expected-error@-2 {{non-constant-expression cannot be narrowed from type 'unsigned int' to 'int…
[all …]
/external/libese/libese-hw/nxp/
DAndroid.bp8 // http://www.apache.org/licenses/LICENSE-2.0
18 name: "libese-hw-nxp-pn80t-common",
20 defaults: ["libese-defaults"],
25 "libese-teq1",
26 "libese-sysdeps",
31 "-Wall",
32 "-Werror",
33 "-Wno-error=unused-variable",
34 "-Wno-format",
46 defaults: ["libese-api-defaults"],
[all …]
/external/libxml2/
DAndroid.bp8 // http://www.apache.org/licenses/LICENSE-2.0
21 // git merge aosp/upstream-master
22 // mma -j
28 // repo start post-sync .
29 // git commit -a
32 // This comes from the automake-generated Makefile.
35 name: "libxml2-defaults",
40 "error.c",
80 "-DLIBXML_THREAD_ENABLED=1",
83 "-DLIBXML_LEGACY_ENABLED=NO",
[all …]
D.travis.yml7 w3c-sgml-lib
12 - compiler: gcc
13 env: CFLAGS="-O2 -std=c89 -D_XOPEN_SOURCE=700 -Werror -Wno-error=unused-function"
15 - compiler: clang
17 env: CONFIG="--without-python"
18-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero,poi…
20 script: sh autogen.sh $CONFIG && make -j2 V=1 && make check
/external/e2fsprogs/lib/e2p/
DAndroid.bp8 defaults: ["e2fsprogs-defaults"],
36 "-Wno-error=attributes",
37 "-Wno-unused-parameter",
45 "-Wno-unused-variable",
48 "-Wno-error=typedef-redefinition",
51 "-lws2_32",
56 header_libs: ["libext2-headers"],
58 export_header_lib_headers: ["libext2-headers"],
/external/clang/test/Modules/
Don-demand-build.m1 // RUN: rm -rf %t
2-fmodules -fimplicit-module-maps -fno-objc-infer-related-result-type -Werror -Wno-error=incomplete
3-fmodules -fimplicit-module-maps -fno-objc-infer-related-result-type -Werror -Wno-error=incomplete
4-fmodules -fimplicit-module-maps -fno-objc-infer-related-result-type -Werror -Wno-error=incomplete
10 // expected-note@Inputs/Module.framework/Headers/Module.h:17{{class method 'alloc' is assumed to re…
15 OtherClass *other = [Module alloc]; // expected-error{{init}}
19 # error MODULE_SUBFRAMEWORK_H should be hidden
/external/e2fsprogs/lib/ext2fs/
DAndroid.bp8 defaults: ["e2fsprogs-defaults"],
98 cflags: ["-Wno-unused-parameter"],
107 "-Wno-error=cpp",
108 "-Wno-format",
109 "-Wno-unused-variable",
112 "-Wno-error=typedef-redefinition",
114 host_ldlibs: ["-lws2_32"],
118 header_libs: ["libext2-headers"],
120 export_header_lib_headers: ["libext2-headers"],
/external/clang/test/SemaTemplate/
Dtypename-specifier.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-unused
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-unused -fms-compatibility -DMSVC
3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s -Wno-unused
4 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s -Wno-unused -fms-compatibility -DMSVC
5 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s -Wno-unused
6 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s -Wno-unused -fms-compatibility -DMSVC
17 int type; // expected-note 2{{referenced member 'type' is declared here}}
25 // expected-warning@-2 {{'typename' occurs outside of a template}}
27 typename N::B::type *ip2 = &i; // expected-error{{no type named 'type' in 'N::B'}}
29 // expected-warning@-2 {{'typename' occurs outside of a template}}
[all …]
/external/clang/test/SemaObjCXX/
Dvararg-non-pod.mm1 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-error=non-pod-varargs
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-error=non-pod-varargs -std=c++98
3 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-error=non-pod-varargs -std=c++11
15 - (void)g:(int)a, ...;
24 …// expected-warning@-2{{cannot pass object of non-POD type 'C' through variadic method; call will …
26 // expected-no-diagnostics@-4
/external/dexmaker/dexmaker-mockito-inline/
DCMakeLists.txt31-DANDROID_STL=c++_shared -frtti -Wall -Werror -Wno-unused-parameter -Wno-shift-count-overflow -Wno…

12345678910>>...21