Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40800

-Wno-invalid-offsetof is not valid for C

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      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

      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@mongodb.com Mathew Robinson (Inactive)
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: