https://bugs.llvm.org/show_bug.cgi?id=32436

            Bug ID: 32436
           Summary: Bogus non-portable path warnings
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Clang 4.0 reports bogus warnings about non-portable paths on Linux (where
non-portable paths probably can't even exist).

Example:
/home/lubos/Projects/darling/src/external/corefoundation/CoreFoundation/CFRunLoop.h:33:10:
warning: non-portable path to file '<corefoundation/CFDate.h>'; specified path
differs in case from file name on disk [-Wnonportable-include-path]
#include <CoreFoundation/CFDate.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         <corefoundation/CFDate.h>

This happens when building source code on Linux with '-target
x86_64-apple-darwin11' (crosscompiling).

As is obvious from the example above, it seems clang internally makes parts of
the include path lower case, only to later complain about it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to