User forums > Using Code::Blocks
Listing warnings
smallB:
Guys, I've tried to look all over the cb in order to find a window which would show warnings from building a project but I couldn't find one.
Does cb provides such window or in order to see those (potential) warnings I have to go to build.log?
Thanks?
zabzonk:
View|Logs and then Build Messages? Unless you have closed that tab, in which case you can reopen it by right-clicking a tab and selecting Toggle...
smallB:
Thanks Neil, but this doesn't work - not in this scenario anyway:
--- Code: ---int f()
{
}
int main()
{
f();
return 0;
}
--- End code ---
This with -Wall will emit a warning about no return statement, but ONLY visible in build log.html.
oBFusCATed:
See this http://www.codeblocks.org/images/stories/imagebrowser/cb_debugging.png
There are both "Build log" and "Build messages" at the bottom of the screen shot.
If you don't see warnings/errors there, then something is broken.
smallB:
Hi, I've checked that already - nothing there indicating that there could be any warnings. But build.log.html lists this warning.
Navigation
[0] Message Index
[#] Next page
Go to full version