tags:

views:

207

answers:

1

Hi,

I've got quite a large Xcode project that since an Xcode upgrade is giving me loads of

"'weak_import' attribute ignored"

warnings, they are coming from WebKit, and a bit of research suggests it's a compiler bug.

Is there anyway to suppress them, I'm getting thousands, making the 'real' warnings impossible to find.

Cheers

MT

A: 

Try adding '-Wno-attributes' to the Other Warning Flags in the Xcode project's build settings.

alex strange
cc1obj: error: unrecognized command line option "-Wno-attribute"Maybe I need to specify it somewhere else...
MT
Sorry, that's "-Wno-attributes".
alex strange
Same problem, I think I need a later version of Xcode+GCC, which I can't as I'm running on Leopard.
MT