User forums > Using Code::Blocks

[SOLVED] GCC : compilation warning with precompiled header

(1/1)

jfouche:
Hi

I would like to know what are those gcc warnings :


--- Code: ---||=== wxConfig, Release ===|
||warning: C:\projets\cpp\wxconfig\trunk\src\wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created using different flags|
||=== Build finished: 0 errors, 6 warnings ===|
--- End code ---

I use 2 configurations debug and release, and compiling release shows me those warnings. I'm surprised that I see debug configurations in the warnings.
Does it deal with the fact that both precompiled header are in the same directory ?
Well, I use the default template of code::blocks, so if the problem come from here, maybe the template has to be changed (But I surely misunderstand the real problem :D).

No problem with the generated file, so it is just for my comprehension.
--
Jérémie

Dahman:
Look at this
http://forums.codeblocks.org/index.php/topic,7281.0.html


Dahman

Navigation

[0] Message Index

Go to full version