http://llvm.org/bugs/show_bug.cgi?id=3841

           Summary: clang's stdint.h is found before platform stdint.h
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Is this intentional?

This breaks glib, in the following roundabout fashion:
--
ddun...@frank:tmp$ echo "#include <sys/inotify.h>" | clang -E -x c - | grep
flexarr
  char name __flexarr;
ddun...@frank:tmp$ echo "#include <sys/inotify.h>" | gcc -E -x c - | grep
flexarr
--

(__flexarr is a define coming from sys/cdefs.h)


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to