https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87351
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang does a reasonable job at their error message here: <source>:2:5: error: function-like macro 'sizeof' is not defined #if sizeof(int) > 4 ^ ICC is almost as bad as GCC: <source>(2): error: function call is not allowed in a constant expression #if sizeof(int) > 4 ^ MSVC is worse than GCC: <source>(2): fatal error C1017: invalid integer constant expression