-Wno-invalid-offsetof is not valid for C

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6, v3.4
    • Hide

      Run a full build with Clang.

      Show
      Run a full build with Clang.
    • Dev Tools 2019-05-20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      cc1: warning: command line option ‘-Wno-invalid-offsetof’ is valid for C++/ObjC++ but not for C

       

      It appears in third_party/SConscript we put this warning in CCFLAGS for some reason.

            Assignee:
            Mathew Robinson (Inactive)
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: