This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30496] Compilation errors when compiled with optimization flags



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]