[LLVMbugs] [Bug 3943] New: Defining/undefining builtin macros

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Apr 4 19:15:11 PDT 2009


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

           Summary: Defining/undefining builtin macros
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


The standard forbids this, but it is not a constraint.  Clang diagnoses some
but not others, e.g.

#undef __LINE__   // diagnosed
#undef __STDC_HOSTED__ // undiagnosed


-- 
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