User forums > Using Code::Blocks
9 errors but still build an executable
Gompie:
Hallo,
I did not check "treat warnings as errors".
I got 9 errors which in my opinion are just warnings.
They start for example with a sentence meaning that I must pay attention to something.
And further: If this is not your intention etc.
Or for example "switch missing default case"
These are warnings to me but below stands:
"=build finished: 9 errors, 0 warnings=
The program is still building an executable
I use GNU compiler under Linux Mint
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Issues_and_Workarounds#Q:_I_posted_on_the_forums_that_Code::Blocks_was_not_working.2C_but_no_one_could_help_me.3F
thomas:
So you wrote code that produces warnings, but it's within what the compiler deems valid syntax. Apparently you have read or at least glanced at two of the warnings, too.
The problem relating to Code::Blocks is... what exactly?
danselmi:
Is your compilers output in english?
Gompie:
Hello, and thanks for helping so far.
@Thomas, the problem related to Code::Blocks is that the warnings are categorized as errors although I did not check the compiler option "treat warnings as errors".
There should be 0 errors 9 warnings but Code::Blocks gives: 9 errors 0 warnings and still executes my program.
@Danselmi, the output is half in Dutch (my language) and half in English.
Strange, but I can live with it.
Navigation
[0] Message Index
[#] Next page
Go to full version