[llvm-bugs] [Bug 33852] New: Defining __STDC_WANT_LIB_EXT1__ causes reserved-id-macro warning

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 19 12:37:16 PDT 2017


            Bug ID: 33852
           Summary: Defining __STDC_WANT_LIB_EXT1__ causes
                    reserved-id-macro warning
           Product: clang
           Version: 4.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mohd.akram at outlook.com
                CC: llvm-bugs at lists.llvm.org

Doing this:

#define __STDC_WANT_LIB_EXT1__ 1


warning: macro name is a reserved identifier [-Wreserved-id-macro]

Defining __STDC_WANT_LIB_EXT1__ is valid in C11.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170719/285760ad/attachment.html>

More information about the llvm-bugs mailing list