public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3014: gcc3: cin problems with solaris 5.8 and >> extractors
@ 2001-05-31 10:16 wavexx
  0 siblings, 0 replies; only message in thread
From: wavexx @ 2001-05-31 10:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3014
>Category:       c++
>Synopsis:       gcc3: cin problems with solaris 5.8 and >> extractors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 31 10:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Wave++
>Release:        gcc version 3.0 20010529 (prerelease)
>Organization:
>Environment:
System: Solaris 5.9 x86
Architecture: i686
host: i386-pc-solaris2.8
build: i386-pc-solaris2.8
target: i386-pc-solaris2.8
Configured with: ../gcc/configure --prefix=/opt/gcc-cvs --enable-shared --enable-threads --enable-languages=c++,f77,objc --disable-libgcj
>Description:
When using cin extractors (eg: cin >> astring) I need to
type AT LEAST return 2 times, or insert an EOF (^D) to
effectively stop parsing input.
>How-To-Repeat:
Compile the example:
g++ -o gcc3_trigger gcc3_trigger.cpp
run it:
./gcc3_trigger

On solaris 5.8 I need to type return twice to end the program.
>Fix:
-
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="gcc3_trigger.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gcc3_trigger.cpp"

I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKdXNpbmcgc3RkOjpjaW47CnVz
aW5nIHN0ZDo6c3RyaW5nOwoKaW50IG1haW4oKQp7CiAgc3RyaW5nIGJ1ZjsKICBjaW4gPj4gYnVm
Owp9Cg==


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-31 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-31 10:16 c++/3014: gcc3: cin problems with solaris 5.8 and >> extractors wavexx

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