[mapserver-dev] --enable-debug and optimization flags

Thomas Bonfort thomas.bonfort at camptocamp.com
Sat Jun 27 05:38:40 EDT 2009


hi devs,

anyone have an objection if I modify the configure script to change
-O[123] to -O0 in CFLAGS/CXXFLAGS if --enable-debug was passed to
./configure.

the current behavior is to leave it untouched, resulting (on my system
at least) in -O2 to be used by default, which is rather incompatible
with tracing code in a debugger.

regards,

thomas

www.camptocamp.com
+33 4 79 26 57 97


More information about the mapserver-dev mailing list