https://bugs.llvm.org/show_bug.cgi?id=46796
Bug ID: 46796
Summary: #undef __STDC_IEC_559__ not caught with
-pedanatic-errors
Product: clang
Version: 10.0
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C
Assignee: unassignedclangb...@nondot.org
Reporter: tyde...@tybor.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
The C standard has [in Predefined macro names clause]: None of these macro
names ... shall be the subject of #define or #undef preprocessing directive.
Using clang with -pedantic-errors does not catch:
#undef __STDC_IEC_559__
#define __STDC_IEC_559__ 1
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs