User forums > Using Code::Blocks
Warnings and variables
Jenna:
You most likely have clicked Build and run and not only build.
zabzonk:
OK, all is revealed - you are doing a build & run, which overwrites the compiler messages with the results of running your executable. You just need to do a Build only - select Build from the Build menu.
Eureka:
Well, if I do a build only, here's what I get :
--- Quote ----------------- Build: Release in Test ---------------
Target is up to date.
Nothing to be done.
--- End quote ---
Still no warnings =(
zabzonk:
The warnings (unlike errors) will appear only the first time you successfully compile an executable. To see them again, to a Rebuild (also in the Build menu), or Compile CurrentFile, or make a minor change to the file(s) in question and do a normal Build.
Jenna:
--- Quote from: zabzonk on October 26, 2009, 12:28:01 pm ---The warnings will appear only the first time you successfully compile an executable. To see them again, to a Rebuild (also in the Build menu), or make a minor change to the file(s) in question.
--- End quote ---
Or clean the project, before build (does the same as rebuild, but you invoke the two steps manually).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version