__builtin_string_constant_p

Florian Weimer fw@deneb.enyo.de
Wed Aug 11 08:27:00 GMT 2004


* Michael Veksler:

> Another idea:
>         #define assert_string_constant(text) (void)(#text "")

Oh, I forgot to mention that: no preprocessor macros.  If I could use
macros, __builtin_constant_p would already work fine.



More information about the Gcc mailing list