This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/79948] _Pragma(“GCC error”) is processed differently inside and outside of a #if directive
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Mar 2017 00:08:19 +0000
- Subject: [Bug preprocessor/79948] _Pragma(“GCC error”) is processed differently inside and outside of a #if directive
- Auto-submitted: auto-generated
- References: <bug-79948-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79948
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I have not read the standard in this area but I know somethings are interesting
in this area that most folks won't expect. Inside #if undefined macros are
considered as 0.