Author Topic: gcc 4 and "obsolete option -I- used, please use -iquote instead"  (Read 7172 times)

Phoenix

  • Guest
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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: gcc 4 and "obsolete option -I- used, please use -iquote instead"
« Reply #1 on: April 04, 2007, 01:59:17 pm »
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
« Last Edit: April 04, 2007, 02:04:05 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Phoenix

  • Guest
Re: gcc 4 and "obsolete option -I- used, please use -iquote instead"
« Reply #2 on: April 04, 2007, 02:10:15 pm »
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.