[LLVMbugs] [Bug 3841] New: clang's stdint.h is found before platform stdint.h

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Mar 19 01:49:41 PDT 2009


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: unassignedclangbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


Is this intentional?

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



More information about the llvm-bugs mailing list