[Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.

thakis at chromium dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 17 20:38:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875

--- Comment #2 from thakis at chromium dot org ---
That only works on declarations, not in an expression, right?

(We do have a workaround that works with gcc. But "pragma message" matches the
semantics of what we want to do, and it works with MSVC and clang, so it'd be
nice if it worked in gcc too.)



More information about the Gcc-bugs mailing list