diff options
| author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-09-05 14:41:33 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-17 13:24:42 +0200 |
| commit | 1baa1c92220d23a91337e8aa1e174c66f7fd0531 (patch) | |
| tree | e46796919bce6bbc5408bbca0b23d5bf7d3d2fc0 /test cases/common/137 c cpp and asm/main.cpp | |
| parent | c6f93b6bf67500c963cdaa33b0500ea1a15232b0 (diff) | |
| download | meson-1baa1c92220d23a91337e8aa1e174c66f7fd0531.tar.gz | |
use '-Werror=unused-parameter' for gcc/clang on project tests and -fimplicit-none on fortran
Fortran: check for undeclared variables by forcing implicit none everywhere
C/C++: check for unused parameters and return types
removed unused variables from test cases
ci: do missing return and unused arg check with Github Actions
Diffstat (limited to 'test cases/common/137 c cpp and asm/main.cpp')
| -rw-r--r-- | test cases/common/137 c cpp and asm/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/137 c cpp and asm/main.cpp b/test cases/common/137 c cpp and asm/main.cpp index c08987073..2abd08486 100644 --- a/test cases/common/137 c cpp and asm/main.cpp +++ b/test cases/common/137 c cpp and asm/main.cpp @@ -5,7 +5,7 @@ extern "C" { int get_cval(void); } -int main(int argc, char **argv) { +int main() { std::cout << "C++ seems to be working." << std::endl; return get_retval(); } |
