Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6834

Failure to compile with "--enable-strict" on MacOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      When I configure with --enable-strict, I see this compilation failure on MacOS with the default system Clang.

      error: include location '/usr/local/include' is unsafe for cross-compilation [-Werror,-Wpoison-system-directories]
      1 error generated.
      make[2]: *** [reverse_collator.lo] Error 1
      make[1]: *** [all-recursive] Error 1
      make: *** [all] Error 2

      Not sure what is going on here. -Wpoison-system-directories seems to be about stopping us from using system headers when we're cross-compiling (which we're not) so I'm not sure why we're hitting this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              alex.cameron Alex Cameron
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: