GNU-style inline assembly is disabled

XCode 8 builds fail with "GNU-style inline assembly is disabled" errors.

What do I need to do to enable them? I've already tried to change the GCC_C_LANGUAGE_STANDARD to GNU99 [-std=gnu99] in Build Settings - to no avail.


Thanks.

Replies

Seeing the same thing in Xcode 8, specifically in WatchKit's cpuid.h, internal.h, and a few others. I'm at WWDC; if I can get a lab answer I'll report back here.

Went to the Labs at WWDC and they suggested adding "-fgnu-inline-asm" to the Other C Flags settings and filing a radar.



It compiles and runs but can't get communication to work...



Also mentioned in https://forums.developer.apple.com/thread/48613

Adding "-fgnu-inline-asm" to the Other C Flags in the WatchKit Extension solved my problem as well.


With that the app builds and runs fine, including communication with our server.