• Thomas Van Lenten's avatar
    Add more warnings to for the ObjC runtime build · c8a440df
    Thomas Van Lenten authored
    Working on https://github.com/google/protobuf/issues/1599, specifically:
    - Turn on more warnings that the Xcode UI calls out with individual controls.
    - Manually add:
      -Wundef
      -Wswitch-enum
    - Manually add and then diable in the unittests because of XCTest's headers:
      -Wreserved-id-macro
      -Wdocumentation-unknown-command
    - Manually add -Wdirect-ivar-access, but disable it for the unittests and in
      the library code (via #pragmas to suppress it). This is done so proto users
      can enable the warning.
    c8a440df
GPBExtensionInternals.m 15.8 KB