[Bug c/88966] Indirect stringification of "linux" produces "1"
dinuxbg at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jan 22 05:16:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88966
Dimitar Dimitrov <dinuxbg at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dinuxbg at gmail dot com
--- Comment #1 from Dimitar Dimitrov <dinuxbg at gmail dot com> ---
The "linux" is a predefined macro:
$ $ gcc -E -dM - </dev/null|grep -w linux
#define linux 1
Looks like by-design to me.
More information about the Gcc-bugs
mailing list