User forums > Help

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

(1/1)

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

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.

Navigation

[0] Message Index

Go to full version