News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Compiler warnings treated as errors

Started by ceeac, Yesterday at 07:47:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

If the SIMUTRANS_WARNINGS_AS_ERRORS CMake option is enabled, compiler warnings are treated as errors to prevent easily-fixable bugs from creeping in. The option is disabled by default, but since r12205 (from today) enabling this will no longer break the build for GCC and Clang. Therefore, I want to enable this option for the relevant nightly (CI) build jobs at some point in the future (probably next week or so). For non-nightly builds the option will still be disabled to not accidentally break the build for people who are self-compiling Simutrans.

victor_18993

I agree. Enabling this for the relevant CI/nightly builds now that GCC and Clang are clean sounds like a good step.
En la vida todo son vivencias y cada una de ellas nos hace mas grandes,¿Como de grande eres tu? :)