Code::Blocks Forums

User forums => Help => Topic started by: Phoenix on April 04, 2007, 12:30:31 pm

Title: gcc 4 and "obsolete option -I- used, please use -iquote instead"
Post by: Phoenix on April 04, 2007, 12:30:31 pm
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
Title: Re: gcc 4 and "obsolete option -I- used, please use -iquote instead"
Post by: stahta01 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
Title: Re: gcc 4 and "obsolete option -I- used, please use -iquote instead"
Post by: Phoenix 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.