https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491
--- Comment #3 from Sergey Markelov ---
This is not a duplicate. The macro is defined conditionally, this is not a
correct behavior.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491
--- Comment #1 from Sergey Markelov ---
Expected: GCC should not define the undocumented/non standard macro `linux`.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116491
Bug ID: 116491
Summary: GCC defines macro linux if -std is not set, and does
not define otherwise
Product: gcc
Version: 14.1.0
Status: UNCONFIRMED
Severity: no