public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12659] New: braces & default constructor & greater sign -> parse error
@ 2003-10-17 14:34 joerg dot richter at pdv-fs dot de
  2003-10-17 14:39 ` [Bug c++/12659] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: joerg dot richter at pdv-fs dot de @ 2003-10-17 14:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12659

           Summary: braces & default constructor & greater sign -> parse
                    error
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joerg dot richter at pdv-fs dot de
                CC: gcc-bugs at gcc dot gnu dot org

Just try to compile this:

----
int main() 
{
  ( int() > 0 );
}
----

This bug is at least in 3.2.1 and 3.3.1 

Workarounds:
- remove braces
- exchange > with <


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/12659] braces & default constructor & greater sign -> parse error
  2003-10-17 14:34 [Bug c++/12659] New: braces & default constructor & greater sign -> parse error joerg dot richter at pdv-fs dot de
@ 2003-10-17 14:39 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 14:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12659


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |rejects-valid
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-17 14:34 -------
Already fixed for 3.4, this might be a dup of other bugs also.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-17 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17 14:34 [Bug c++/12659] New: braces & default constructor & greater sign -> parse error joerg dot richter at pdv-fs dot de
2003-10-17 14:39 ` [Bug c++/12659] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).