public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/1936: pseudo-construction and >> operator
@ 2001-04-01 0:00 Jens.Maurer
0 siblings, 0 replies; 2+ messages in thread
From: Jens.Maurer @ 2001-04-01 0:00 UTC (permalink / raw)
To: gcc-gnats
>Number: 1936
>Category: c++
>Synopsis: pseudo-construction and >> operator
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sun Feb 11 14:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jens.Maurer@gmx.net
>Release: gcc version 2.97 20010208 (experimental)
>Organization:
>Environment:
Linux menuett 2.2.13 #1 Mon Nov 8 15:51:29 CET 1999 i686 unknown
glibc 2.2.1
>Description:
The code below is legal, but rejected by gcc.
constant_shift_operator.cc:2: parse error before `>>' token
>How-To-Repeat:
int i = (int()) >> 5;
>Fix:
As a workaround, use int(0) instead of int()
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/1936: pseudo-construction and >> operator
@ 2002-11-20 19:01 Wolfgang Bangerth
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bangerth @ 2002-11-20 19:01 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/1936; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/1936: pseudo-construction and >> operator
Date: Thu, 14 Nov 2002 14:35:24 -0600
Re-confirmed with 3.3 CVS from 2002-11-10 and 3.2.1 pre from the same date.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-14 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01 0:00 c++/1936: pseudo-construction and >> operator Jens.Maurer
2002-11-20 19:01 Wolfgang Bangerth
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).