User forums > Using Code::Blocks

Include paths problem: -I- and -I.

(1/1)

Balazs:
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.

mandrav:
Go to "Project->Properties" and change the PCH mode to something other than the default.

Balazs:
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.

Navigation

[0] Message Index

Go to full version