Opened 16 years ago
Last modified 16 years ago
#1 new defect
Compiler Optimization flags not turned off in debug mode
Reported by: | Christoph Mayer | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Deployment | Version: | 0.1.0 |
Keywords: | debug flags | Cc: |
Description
When using ./configure --enable-debug=yes the -ggdb -DDEBUG -D_DEBUG -O0 flags are used correctly. But somehow additionally the -g (does not hurt) and -O2 (does hurt) flags are also used.
Where are these coming from? I suspect maybe from boost? The -O0 and -O2 flags clash and there is certainly no well-defined behavior for this.
Change History (2)
comment:1 by , 16 years ago
Owner: | changed from | to
---|
comment:2 by , 16 years ago
Owner: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.