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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to