Menu

#8 Optimization level too high for debugging

open
nobody
None
5
2009-07-28
2009-07-28
Robert
No

When a debug build is specified the flags set are:
-g -O2

An optimization level of 2 is too high for debugging. It should be 0.

As a workaround I manually edited the generated makefile to so the flags are -g -O0

Discussion


Log in to post a comment.