Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/2] gettext.h: add parentheses around N_ expansion

From: Andreas Schwab <hidden>
Date: 2016-06-15 23:03:24

"Kyle J. McKay" [off-list ref] writes:
Even clang -ansi -pedantic doesn't seem to complain about this.  And ("a")
is just as much a constant expression as "a".  Are you sure it's not just
a tcc bug?
The C standard asks for a string literal as the initializer, not an
expression.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help