Re: [PATCH 2/2] gettext.h: add parentheses around N_ expansion
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Jan 6, 2015, 15:16 UTC
- Message-ID
- <87tx04rlbw.fsf@igel.home>
- In-Reply-To
- <694DC462-40E3-4081-8616-64483FCD0D77@gmail.com>
"Kyle J. McKay" <mackyle@gmail.com> 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."