dxx-rebirth/common
Kp 658102a868 Improve static_assert test
Previously, SConstruct tested whether static_assert worked with trivial
constant expressions.  Extend the test to more complicated expressions
like the ones used in the program.

Replace the typedef based approach with an inline enum to avoid warnings
about unused local typedefs.

Allow use with compilers that lack working static_assert or that cannot
accept complicated expressions.  Add a non-checking definition that uses
the input parameter.  This prevents warnings when types or constants are
used only for the static_assert.
2015-07-09 03:12:45 +00:00
..
2d Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
3d Convert local arrays to array<> 2015-04-19 04:18:49 +00:00
arch Move similar/arch/sdl/timer.cpp -> common/arch/sdl/timer.cpp 2015-07-04 21:01:17 +00:00
editor
include Improve static_assert test 2015-07-09 03:12:45 +00:00
main Implement secluded spawns 2015-07-04 21:01:18 +00:00
maths Preprocess out EDITOR-only vm_vec_ang_2_matrix 2015-06-02 03:03:32 +00:00
misc Add non-aborting UserError for user-caused fatal errors 2015-06-16 03:15:40 +00:00
texmap Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
ui Add non-aborting UserError for user-caused fatal errors 2015-06-16 03:15:40 +00:00