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. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
include | ||
main | ||
maths | ||
misc | ||
texmap | ||
ui |