------- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-18 18:10 ------- Ok, what is happening here is that gettext is defined to be a statement expression with optimization. And in C++, right now, we don't allow a statement expression not be in a function (this is a silly constraint).
The silly constraint is recorded as PR 17854, I am marking this as a dup of that bug. In a way this is a gettext bug and should reported to them also. *** This bug has been marked as a duplicate of 17854 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30496