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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None

      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.

            Assignee:
            Alison Felizzi (Inactive)
            Reporter:
            Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: