diff options
author | David Seifert <soap@gentoo.org> | 2019-07-14 09:54:19 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-07-14 15:12:16 +0000 |
commit | fcf27c2a2d36f81168bd14d933799c171d2ffb81 (patch) | |
tree | dedcdaf84c0f56efe346fb4a39a81a52c27ba1ac /mesonbuild/compilers/objcpp.py | |
parent | 6813ef1e2424cdcfc0811bb0c7b3d2efc996fd36 (diff) | |
download | meson-fcf27c2a2d36f81168bd14d933799c171d2ffb81.zip meson-fcf27c2a2d36f81168bd14d933799c171d2ffb81.tar.gz meson-fcf27c2a2d36f81168bd14d933799c171d2ffb81.tar.bz2 |
Do not fail on passing `-Werror=unused-parameter` from environment
Diffstat (limited to 'mesonbuild/compilers/objcpp.py')
-rw-r--r-- | mesonbuild/compilers/objcpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/objcpp.py b/mesonbuild/compilers/objcpp.py index f74bbd8..f89235e 100644 --- a/mesonbuild/compilers/objcpp.py +++ b/mesonbuild/compilers/objcpp.py @@ -41,7 +41,7 @@ class ObjCPPCompiler(CLikeCompiler, Compiler): with open(source_name, 'w') as ofile: ofile.write('#import<stdio.h>\n' 'class MyClass;' - 'int main(int argc, char **argv) { return 0; }\n') + 'int main() { return 0; }\n') pc = subprocess.Popen(self.exelist + extra_flags + [source_name, '-o', binary_name]) pc.wait() if pc.returncode != 0: |