You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
C99 extensions are currently disallowed throughout the project due to pedantic warnings being enabled. This makes no sense in Objective-C code, since we’ve been able to depend on C99 support for years. At the least, the iOS and OS X SDK targets should get a -Wno-c99-extensions flag. This will enable us to remove a fair amount of redundant code in MGLMapView.
If any non-SDK Objective-C code needs to use C99-specific features like designated initializers or the Elvis operator, we can selectively turn off the Clang warning via #pragma clang diagnostic ignored "-Wc99-extensions" on a case-by-case basis.
C99 extensions are currently disallowed throughout the project due to pedantic warnings being enabled. This makes no sense in Objective-C code, since we’ve been able to depend on C99 support for years. At the least, the iOS and OS X SDK targets should get a
-Wno-c99-extensions
flag. This will enable us to remove a fair amount of redundant code in MGLMapView.If any non-SDK Objective-C code needs to use C99-specific features like designated initializers or the Elvis operator, we can selectively turn off the Clang warning via
#pragma clang diagnostic ignored "-Wc99-extensions"
on a case-by-case basis./cc @jfirebaugh @boundsj
The text was updated successfully, but these errors were encountered: