User forums > Using Code::Blocks

Probably a bug!

<< < (2/2)

koso:
Try to compare compiler settings (Settings -> Compiler and Debugger ...) in both enviroments. I think there will be differences in some optimalization flags.

zabzonk:
Warnings never occur on the virtual machine and never disappear on the local one.


So your problems are regarding virtualisation. It might have been a good idea to mention that in your original question, and I think you probably need to ask this in a forum that concerns itself with that topic.

198710:

--- Quote from: koso on October 12, 2009, 06:35:34 pm ---Try to compare compiler settings (Settings -> Compiler and Debugger ...) in both enviroments. I think there will be differences in some optimalization flags.

--- End quote ---
Great Answer!
I deselected the "-O" on my local machine,the code is then compiled fine,I guess it's a problem of gcc.
But I accidently discovered a small mistake of "codeblocks-8.02mingw-setup.exe" after comparison:
In the "Toolchain executables" tab,"Make program" is set to "make.exe" by default while there's no such file in MinGW's directory,but "mingw32-make.exe" instead,like the one auto-detected on my virtual machine.

Navigation

[0] Message Index

[*] Previous page

Go to full version