Hey there,
so I'm trying to use code blocks to compile our gcc project, the only problem is that when I look at the gcc command line that it generates, it's added the option -I- to the command line, now this isn't an option we specify normally and it's causing issues. also our version of gcc says that it's depracated and to use -iquote instead.
Anyone know how to turn off these options in CB ??? I can't find it anywhere in the gcc build options.
-BotoxBoy!
Allthough I'm not completely sure I believe that's part of the PCH strategy (precompiled headers) you are using. Play around with the settings in project -> properties on the "project" tab... ;-)
With regards, Morten.
Quote from: MortenMacFly on May 12, 2006, 07:15:33 AM
Allthough I'm not completely sure I believe that's part of the PCH strategy (precompiled headers) you are using.
True. The option to generate the PCH in the objects output dir creates the -I- command line; the other two don't. I've had best results using the option to create it in a subdirectory of the source directory.
I'm using PCH's and have the same warning, have you been able to resolve it then?
Didn't you read my post?
Only one of the PCH generation strategies uses the -I- parameter and causes the warning; the other two do not.
oh, sorry, missed it :)
putting a gch in obj folder causes this problem, but I do prefer putting everything in ./obj