News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

gcc 4 and "obsolete option -I- used, please use -iquote instead"

Started by Phoenix, April 04, 2007, 12:30:31 PM

Previous topic - Next topic

Phoenix

Hello,

I'm using CB with gcc4.1. I'm already using "-Wno-attributes" but I'm still getting message: "cc1plus.exe: note: obsolete option -I- used, please use -iquote instead". Is there a way to change compiler settings in order to suppress this message? I know that this is not a big problem, but I would like to eliminate it.

Platform:
Windows XP SP2
CB - nightly build 3803 31 March 2007
wxWidgets 2.9.0

Regards,
Peter

stahta01

Try changing the Project Properties.

"Project" -> "Properties"
"Precompiled Headers" from "Generate PCH in the object directory" to "Generate PCH in a directory along side original header" or to "Generate PCH alongside original header"

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Phoenix

Thanks, it worked. I didn't thought about this option.  :oops:

I was playing with advanced compiler settings with no luck. Once again thanks for your help.