This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/2209: Diagnostic regression with respect to g++-2.95.2 ?
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/2209: Diagnostic regression with respect to g++-2.95.2 ?
- From: Theodore dot Papadopoulo at sophia dot inria dot fr
- Date: 7 Mar 2001 19:09:37 -0000
- Reply-To: Theodore dot Papadopoulo at sophia dot inria dot fr
>Number: 2209
>Category: libstdc++
>Synopsis: Diagnostic regression with respect to g++-2.95.2 ?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 07 11:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Theo Papadopoulo
>Release: unknown-1.0
>Organization:
>Environment:
g++ mainline from 01/22/2001
Linus redhat 6.2
>Description:
The header fstream seem to include time.h
So that a diagnostic that time.h has not been declared
disappeared.
I'm not sure this qualifies as a regression, but Gaby told
me to fill a gnat report so here it is...
>How-To-Repeat:
mururoa->g++ test1.C
mururoa->/usr/local/bin/g++ test1.C # This is 2.95.2
test1.C: In function `int main()':
test1.C:5: implicit declaration of function `int time(...)'
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test1.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test1.C"
I2luY2x1ZGUgPGZzdHJlYW0+CgppbnQgbWFpbigpCnsKICAgIHRpbWUoMCk7Cn0K