User forums > Help
Compiling CodeBlocks from source : Warnings displayed
(1/1)
Scr3amer:
Hello guys,
I finally managed to compile codeblocks from sources but each time I have several warnings. That's why I wanted to know when I can consider I have properly and successfully built the soft.
I am using GCC TDM 4.7.1 (shipped with C::B 13.12) and wX 3.0.2. And it was for SVN 10635 and 10636.
Here are some of the warnings I met (only for C::B and core plugins) :
\src\sdk\scripting\squirrel\sqcompiler.cpp|655|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]| <- this one multiple times
\src\sdk\wxscintilla\src\ScintillaWX.cpp|628|warning: variable 'haveTextString' set but not used [-Wunused-but-set-variable]
\src\src\resources\resources.rc|137|warning: #warning Manifest: x86.manifest [-Wcpp]|
Thanks in advance for any help :D !
BlueHazzard:
--- Code: ---\src\sdk\scripting\squirrel\sqcompiler.cpp|655|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]| <- this one multiple times
--- End code ---
squirrel thing, not really related to c::b, as far as it works it is ok ;) (and it works obviously)
--- Code: ---\src\sdk\wxscintilla\src\ScintillaWX.cpp|628|warning: variable 'haveTextString' set but not used [-Wunused-but-set-variable]
--- End code ---
the warning says all... not really critical
--- Code: ---\src\src\resources\resources.rc|137|warning: #warning Manifest: x86.manifest [-Wcpp]|
--- End code ---
absolute no idea, but if it works i would not bother...
greetings
stahta01:
--- Quote from: BlueHazzard on January 09, 2016, 12:43:17 pm ---
--- Code: ---\src\src\resources\resources.rc|137|warning: #warning Manifest: x86.manifest [-Wcpp]|
--- End code ---
absolute no idea, but if it works i would not bother...
--- End quote ---
I think the above warning is generated on purpose to confirm the Manifest matches the CPU wanted.
If you read the CB code and forum there was a time the wrong Manifest file was generated.
Tim S.
MortenMacFly:
--- Quote from: stahta01 on January 09, 2016, 03:01:42 pm ---I think the above warning is generated on purpose to confirm the Manifest matches the CPU wanted.
--- End quote ---
That is certainly true. This is on purpose and nothing to worry about.
Navigation
[0] Message Index
Go to full version