User forums > General (but related to Code::Blocks)
[Solved] - Code::Blocks refuses to compile
oBFusCATed:
Read the manual and the wiki. There is plenty of information that could help.
koder:
I also had this problem when creating project, choosing Visual Studio C++ that don't worked. After changing compiler to gnu gcc there was error like w3 ...
From settings, build options I had make all changes what needed but this error was stay. So I had decide to edit project file .cbp and I found there:
--- Code: ---<Compiler>
<Add option="W3" />
</Compiler>
--- End code ---
and instead W3 changed to -Wall as it was in another project file with correct build options.
--- Code: ---<Compiler>
<Add option="-Wall" />
</Compiler>
--- End code ---
That is all, after all works fine!
Navigation
[0] Message Index
[*] Previous page
Go to full version