Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Balazs on June 02, 2006, 07:53:35 pm

Title: Include paths problem: -I- and -I.
Post by: Balazs on June 02, 2006, 07:53:35 pm
Why are -I- and -I. are added to the compiler include paths at all times?
How can I disable this? I have a project, where the -I. path makes trouble, without it, my project compiles fine. I know why this happens, just would be too long to describe it.
How can I make CodeBlocks NOT to include -I. at all times?

I use CB_20060601_rev2520_win32 with GCC Compiler.

--
Greets,
B.
Title: Re: Include paths problem: -I- and -I.
Post by: mandrav on June 02, 2006, 09:36:10 pm
Go to "Project->Properties" and change the PCH mode to something other than the default.
Title: Re: Include paths problem: -I- and -I.
Post by: Balazs on June 02, 2006, 10:00:06 pm
Thank you!
I was already editing the cbp files directly to find it out, but this is something I would have guessed for the last.

As a side note: it would be nice if modifications could be applied to multiple projects at the same time. Is it planned? I guess this doesn't have high priority though...

--
Greets
B.