Eli Schwartz
59d4f771d2
editorconfig: add setting to trim trailing whitespace
...
and clean up all outstanding issues
Skip 'test cases/common/141 special characters/meson.build' since it
intentionally uses trailing newlines.
3 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Michael Hirsch, Ph.D
83b4e981c4
Use strict function prototypes
5 years ago
Jussi Pakkanen
f6ad5d1398
Make all C main functions without arguments have "void" in arg list.
5 years ago
Michael Hirsch, Ph.D
1baa1c9222
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
5 years ago
Nicolas Schneider
2044bc53b3
use same compiler args for pch as for regular target
...
Fixes #999 , #1415 , #2361 .
6 years ago
Jussi Pakkanen
6c84f48ccd
Consolidated all PCH tests in one test project.
6 years ago
Jussi Pakkanen
e967e5eb4b
At last! MSVC precompiles headers and can use them.
12 years ago
Jussi Pakkanen
a1f4bf1124
Started work on MSVC precompiled headers. It does not work yet but I have been at it for so long that I want to just commit now because it at least does something close to the final result.
12 years ago
Jussi Pakkanen
9262fe600a
Split test suite into common and platform dependent parts.
12 years ago
Jussi Pakkanen
3e9416fc4a
Added support for precompiled headers.
12 years ago