Home
last modified time | relevance | path

Searched +full:- +full:werror (Results 1 – 25 of 1014) sorted by relevance

12345678910>>...41

/external/jemalloc_new/
D.travis.yml6 - os: linux
7 … env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
8 - os: osx
9 … env: CC=gcc CXX=g++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
10 - os: linux
11 … CC=clang CXX=clang++ COMPILER_FLAGS="" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
12 - os: linux
13 …env: CC=gcc CXX=g++ COMPILER_FLAGS="-m32" CONFIGURE_FLAGS="" EXTRA_CFLAGS="-Werror -Wno-array-boun…
17 - gcc-multilib
18 - os: linux
[all …]
/external/openthread/third_party/nlbuild-autotools/repo/autoconf/m4/
Dnl_werror.m42 # Copyright 2015-2018 Nest Labs Inc. All Rights Reserved.
8 # http://www.apache.org/licenses/LICENSE-2.0
19 # This file defines GNU autoconf M4-style macros that ensure the
20 # -Werror (or -Werror=<...>) compiler option(s) for GCC-based or
21 # -compatible compilers do not break some autoconf tests (see
22 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
24 # If -Werror (or -Werror=<...>) has/have been passed transform it
25 # into -Wno-error (or -Wno-error=<...>) for CPPFLAGS, CFLAGS,
34 # variable - The compiler flags variable to scan for the presence of
35 # -Werror (or -Werror=<...>) and, if present, transform
[all …]
/external/clang/test/Modules/
DWerror.m1 // RUN: rm -rf %t
2 // RUN: rm -rf %t-saved
3 // RUN: mkdir -p %t-saved
5 // Initial module build (-Werror=header-guard)
6 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -fdisable-module-hash \
7 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \
8 // RUN: -Werror=header-guard
9 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
11 // Building with looser -Werror options does not rebuild
12 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -fdisable-module-hash \
[all …]
Drequire-modular-includes.m1 // RUN: rm -rf %t
5 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
6 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
7 // RUN: -Werror -fsyntax-only -x objective-c -
9 // Including a non-modular header
11 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
12 // RUN: -fmodules-cache-path=%t -F %S/Inputs/require-modular-includes \
13 // RUN: -I %S/Inputs/require-modular-includes \
14 // RUN: -fsyntax-only -x objective-c - 2>&1 | FileCheck %s
18 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \
[all …]
/external/fsverity-utils/scripts/
Drun-tests.sh2 # SPDX-License-Identifier: MIT
5 # Use of this source code is governed by an MIT-style
10 # Test script for fsverity-utils. Runs 'make check' in lots of configurations,
14 # fsverity-utils into a kvm-xfstests test appliance and run
15 # 'kvm-xfstests -c ext4,f2fs -g verity'
17 set -e -u -o pipefail
31 TMPDIR=$(mktemp -d -t libfsverity_test.XXXXXXXXX)
32 trap 'rm -r "$TMPDIR"' EXIT
36 echo "Starting fsverity-utils tests. See run-tests.log for full output."
37 rm -f run-tests.log
[all …]
/external/clang/test/Driver/
Dqa_override.c1 …CCC_OVERRIDE_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-### " %clang -target …
2 …_OVERRIDE_OPTIONS="x-Werror +-msse" %clang -target x86_64-apple-darwin -Werror %s -c -### 2>&1 | F…
4 // CHECK: "-cc1"
5 // CHECK-NOT: "-Oignore"
6 // CHECK: "-Omagic"
7 // CHECK-NOT: "-Oignore"
9 // RM-WERROR: ### CCC_OVERRIDE_OPTIONS: x-Werror +-msse
10 // RM-WERROR-NEXT: ### Deleting argument -Werror
11 // RM-WERROR-NEXT: ### Adding argument -msse at end
12 // RM-WERROR-NOT: "-Werror"
Dcl-pch.cpp1 // Note: %s and %S must be preceded by --, otherwise it may be interpreted as a
2 // command-line option, e.g. on Mac where %s is commonly under /Users.
5 // RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c -### -- %s 2>&1 \
6 // RUN: | FileCheck -check-prefix=CHECK-YC %s
8 // CHECK-YC: cc1
9 // CHECK-YC: -emit-pch
10 // CHECK-YC: -o
11 // CHECK-YC: pchfile.pch
12 // CHECK-YC: -x
13 // CHECK-YC: "c++"
[all …]
/external/e2fsprogs/.github/workflows/
Dci.yml4 DEF_CFLAGS: -O2 -g -Wall
7 gcc-build-and-test:
9 runs-on: ubuntu-latest
11 - uses: actions/checkout@v3
12 - run: ./configure CC=gcc CFLAGS="$DEF_CFLAGS"
13 - run: make -j8 check V=1 CFLAGS_WARN="-Werror"
14 - run: make -j8 install V=1 DESTDIR=$PWD/installdir
15 - run: make -j8 uninstall V=1 DESTDIR=$PWD/installdir
17 clang-build-and-test:
19 runs-on: ubuntu-latest
[all …]
/external/zstd/
DMakefile2 # Copyright (c) 2015-2021, Yann Collet, Facebook, Inc.
5 # This source code is licensed under both the BSD-style license (found in the
8 # You may select, at your option, one of the above-listed licenses.
24 # When cross-compiling from linux to windows, you might
28 # Note: mingw-w64 build from linux to windows does not
40 ## default: Build lib-release and zstd-release
42 default: lib-release zstd-release
53 $(Q)$(MAKE) -C $(PRGDIR) all
54 $(Q)$(MAKE) -C $(TESTDIR) all
58 $(MAKE) -C $(PRGDIR) zstd32
[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"
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/oss-fuzz/projects/dlplibs/
Dbuild.sh1 #!/bin/bash -eu
8 # http://www.apache.org/licenses/LICENSE-2.0
18 tar -xJf $SRC/zlib-1.2.11.tar.xz
19 pushd zlib-1.2.11
20 ./configure --static
21 make -j$(nproc)
22 export ZLIB_CFLAGS="-I$(pwd)"
23 export ZLIB_LIBS="-L$(pwd) -lz"
26 tar -xzf $SRC/lcms2-2.8.tar.gz
27 pushd lcms2-2.8
[all …]
/external/libusb/android/jni/
DApplication.mk2 # Copyright © 2012-2013 RealVNC Ltd. <toby.gray@realvnc.com>
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 -std=gnu11 \
23 -Wall \
24 -Wextra \
25 -Wshadow \
26 -Wunused \
27 -Wwrite-strings \
28 -Werror=format-security \
29 -Werror=implicit-function-declaration \
[all …]
/external/zstd/.github/workflows/
Ddev-short-tests.yml1 name: dev-short-tests
6 group: fast-${{ github.ref }}
7 cancel-in-progress: true
14 linux-kernel:
15 runs-on: ubuntu-latest
17 - uses: actions/checkout@v2
18 - name: linux kernel, library + build + test
19 …run: make -C contrib/linux-kernel test CFLAGS="-Werror -Wunused-const-variable -Wunused-but-set-va…
22 runs-on: ubuntu-latest
24 - uses: actions/checkout@v2
[all …]
/external/libepoxy/
Dmeson.build26 conf.set_quoted('PACKAGE_STRING', '@0@-@1@'.format(meson.project_name(), meson.project_version()))
81 '-we4002', # too many actual parameters for macro
82 '-we4003', # not enough actual parameters for macro
83 '-w14010', # single-line comment contains line-continuation character
84 '-we4013', # 'function' undefined; assuming extern returning int
85 '-w14016', # no function return type; using int as default
86 '-we4020', # too many actual parameters
87 '-we4021', # too few actual parameters
88 '-we4027', # function declared without formal parameter list
89 '-we4029', # declared formal parameter list different from definition
[all …]
/external/clang/test/VFS/
Dreal-path-found-first.m2 // use its VFS-mapped path. If we accidentally use the real path in header
8 // RUN: rm -rf %t %t-cache %t.pch
9 // RUN: mkdir -p %t/SomeFramework.framework/Modules
11 // RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml
14 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
15 // RUN: -ivfsoverlay %t.yaml -fsyntax-only %s -verify -Wauto-import \
16 // RUN: -Werror=non-modular-include-in-framework-module
20 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
21 // RUN: -ivfsoverlay %t.yaml -fsyntax-only %s -verify -Wauto-import \
22 // RUN: -Werror=non-modular-include-in-framework-module
[all …]
/external/toolchain-utils/compiler_wrapper/
Ddisable_werror_flag_test.go2 // Use of this source code is governed by a BSD-style license that can be
51 if err := verifyArgCount(cmd, 0, "-Wno-error"); err != nil {
54 fmt.Fprint(stderr, "-Werror originalerror")
57 if err := verifyArgCount(cmd, 1, "-Wno-error"); err != nil {
88 if err := verifyArgCount(cmd, 0, "-Wno-error"); err != nil {
91 fmt.Fprint(stderr, "-Werror originalerror")
117 fmt.Fprint(stderr, "-Werror originalerror")
142 fmt.Fprint(stderr, "-Werror originalerror")
169 fmt.Fprint(stderr, "-Werror originalerror")
184 if err := verifyNonInternalError(ctx.stderrString(), "-Werror originalerror"); err != nil {
[all …]
/external/ot-br-posix/examples/platforms/nxp/linux-imx/
Daarch64.cmake29 set(CMAKE_C_COMPILER aarch64-poky-linux-gcc)
30 set(CMAKE_CXX_COMPILER aarch64-poky-linux-g++)
33 set(CMAKE_ASM_COMPILER aarch64-poky-linux-gcc)
34 find_program(CMAKE_AR aarch64-poky-linux-gcc-ar DOC "Archiver" REQUIRED)
35-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wfor…
36-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wfor…
37-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wfor…
38 set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG" CACHE STRING "Additional CFLAGS for release")
39 set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG" CACHE STRING "Additional CXXFLAGS for release")
40 set(CMAKE_ASM_FLAGS_RELEASE "-DNDEBUG" CACHE STRING "Additional ASM FLAGS for release")
[all …]
/external/igt-gpu-tools/
Dmeson.build1 project('igt-gpu-tools', 'c',
13 error('Building without -Db_ndebug=false is not supported')
18 # Also make sure that the user doesn't have -DNDEBUG defined in their config
19 if not cc.compiles(files('lib/check-ndebug.h'), args: get_option('c_args'))
24 '-Wbad-function-cast',
25 '-Wdeclaration-after-statement',
26 '-Wformat=2',
28 '-Wimplicit-fallthrough=0',
29 '-Wlogical-op',
30 '-Wmissing-declarations',
[all …]
/external/tinyalsa/
DAndroid.bp5 // Added automatically by a large-scale-change
6 // http://go/android-license-faq
11 "SPDX-license-identifier-BSD",
35 cflags: ["-Werror", "-Wno-macro-redefined"],
54 cflags: ["-Werror"],
66 cflags: ["-Werror"],
73 cflags: ["-Werror", "-Wall"],
80 cflags: ["-Werror"],
87 cflags: ["-Werror"],
/external/clang/test/PCH/
Dpragma-detect_mismatch.c2 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-llvm
3 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-llvm
6 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-pch -
7 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-llvm
8 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-pch -
9 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-llvm
Dpragma-comment.c2 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-llvm
3 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-llvm
6 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-pch -
7 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-llvm
8 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-pch -
9 // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-llvm
/external/strace/m4/
Dst_warn_cflags.m42 gl_WARN_ADD([-Wall])
3 gl_WARN_ADD([-Wempty-body])
4 gl_WARN_ADD([-Wformat-security])
5 gl_WARN_ADD([-Wignored-qualifiers])
6 gl_WARN_ADD([-Wimplicit-fallthrough=5])
7 gl_WARN_ADD([-Winit-self])
8 gl_WARN_ADD([-Winitializer-overrides])
9 gl_WARN_ADD([-Wlogical-op])
10 gl_WARN_ADD([-Wmissing-parameter-type])
11 gl_WARN_ADD([-Wnested-externs])
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/
D.bazelrc1 # Use our custom-configured c++ toolchain.
3 build:m32 --copt=-m32 --linkopt=-m32
4 build:asan --copt=-fsanitize=address --linkopt=-fsanitize=address
5 build:valgrind --run_under='valgrind --leak-check=full --error-exitcode=1'
7 build:ubsan --copt=-fsanitize=undefined --linkopt=-fsanitize=undefined --action_env=UBSAN_OPTIONS=h…
9 # https://github.com/bazelbuild/bazel/issues/11122#issuecomment-613746748
10 build:ubsan --copt=-fno-sanitize=function --copt=-fno-sanitize=vptr
12 build:Werror --copt=-Werror
13 build:Werror --per_file_copt=json/parser@-Wno-error
14 build:Werror --per_file_copt=com_google_protobuf@-Wno-error
[all …]
/external/clang/test/CodeGen/
Dtransparent-union.c1 // RUN: %clang_cc1 -Werror -triple x86_64-linux -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -Werror -triple i386-linux -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -Werror -triple armv7-linux -emit-llvm -o - %s | FileCheck %s --check-prefix=ARM
4 // RUN: %clang_cc1 -Werror -triple powerpc64le-linux -emit-llvm -o - %s | FileCheck %s
5 // RUN: %clang_cc1 -Werror -triple aarch64-linux -emit-llvm -o - %s | FileCheck %s
13 // CHECK-LABEL: define void @f1_0(i32* %a0)
15 // CHECK: call void %{{.*}}(i8* %{{[a-z0-9]*}})
18 // ARM-LABEL: define arm_aapcscc void @f1_0(i32* %a0)
20 // ARM: call arm_aapcscc void %{{.*}}(i8* %{{[a-z0-9]*}})

12345678910>>...41