Code::Blocks Forums
User forums => Help => Topic started by: VintigeUK on March 28, 2008, 12:45:45 am
-
Hello i installed codeblocks a while ago with the borland compiler and it worked fine. But ive come back on it now and im getting that error when i try to build
Thankyou for your help
-
Its an error of the Borland compiler!
Turn on full commandline logging (Settings -> Compiler and Debugger -> Tab "Other" -> Compiler logging = "Full command line"), rebuild and check the syntax in the Build Log.
If you know what's wrong, you can start investigating where it comes from: global compiler settings, project specific settings, automatically set by C::B or manually set by you ?
-
Cheers this is what came up in the build log
Project : 01.HelloWorld
Compiler : Borland C++ Compiler 5.5 (called directly)
Directory : C:\Users\ollystac\Desktop\irrlicht\examples\01.HelloWorld\
--------------------------------------------------------------------------------
Switching to target: Debug
bcc32.exe /DWIN32 /D_DEBUG /D_CONSOLE /W3 /O0 /MLd -I"..\..\include" -I"C:\Borland\BCC55\include" -I"\home\mike\irrlicht\include" -I"C:\Users\ollystac\Desktop\irrlicht\include" -I"C:\Borland\BCC55\Include\Gl" -I"C:\Borland\BCC55\Include\Rw" -I"C:\Borland\BCC55\Include\Sys" -oDebug\main.obj -c main.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2075: Incorrect command line option: /W3
Process terminated with status 1 (0 minutes, 0 seconds)
-
Error E2075: Incorrect command line option: /W3
Hopefully this makes things clear. Just remove that invalid (GCC) option.
-
which is the invalid gcc option?
Thankyou
-
from the looks of the log file, i believe the /W3 is the invalid option
-
How to i get rid of that w3.
Sorry im a newbie :lol:
-
How to i get rid of that w3.
Project's build options -> Tab "Compiler settings" -> Either tab "Compiler flags" (this would be an error in C::B then ;-)) or tab "Other options". Notice that both can be either at project- or at target level.
-
hello
I have the like-problem with the status : Incorrect command line option: -Wall.
I try to do what jens says but i dont find the error.
Now i dont know what to do.
Thanks