public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* libio/strfile.h
@ 1998-08-17 4:38 Fred Richardson (at home)
1998-08-18 18:14 ` libio/strfile.h Jeffrey A Law
0 siblings, 1 reply; 4+ messages in thread
From: Fred Richardson (at home) @ 1998-08-17 4:38 UTC (permalink / raw)
To: egcs-bugs
Hi-
After installation, I found that the macro __PMT used in strfile.h was
never defined causing a parse error at these two lines:
typedef void *(*_IO_alloc_type) __PMT ((_IO_size_t));
typedef void (*_IO_free_type) __PMT ((void*));
-Fred
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libio/strfile.h
1998-08-17 4:38 libio/strfile.h Fred Richardson (at home)
@ 1998-08-18 18:14 ` Jeffrey A Law
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1998-08-18 18:14 UTC (permalink / raw)
To: frichard; +Cc: egcs-bugs
In message < 199808171137.HAA14573@frichard.bbn.com >you write:
> Hi-
>
> After installation, I found that the macro __PMT used in strfile.h was
> never defined causing a parse error at these two lines:
>
> typedef void *(*_IO_alloc_type) __PMT ((_IO_size_t));
> typedef void (*_IO_free_type) __PMT ((void*));
>
I believe this was recently fixed (libio/ChangeLog):
1998-08-17 Ulrich Drepper <drepper@cygnus.com>
* strfile.h: Define __PMT if not already defined.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libio/strfile.h
1997-09-21 12:18 libio/strfile.h John Carr
@ 1997-09-21 14:04 ` Jeffrey A Law
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1997-09-21 14:04 UTC (permalink / raw)
To: John Carr; +Cc: egcs-bugs
In message < 199709211916.PAA02336@jfc. >you write:
>
> libio has an internal header named strfile.h. I tried to use g++ to
> build a program which had its own file named strfile.h. The program's
> strfile.h was found instead of the compiler's. strfile.h is not
> specified in the draft ANSI C++ standard; nonstandard filenames should
> have some compiler or library unique prefix (<libio/strfile.h>,
> <g++-strfile.h>) to avoid this kind of problem.
I've forwarded this to Ulrich since he's officially the maintainer
of libio/libstdc++.
Hopefully he'll have something to say about it soon :-)
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* libio/strfile.h
@ 1997-09-21 12:18 John Carr
1997-09-21 14:04 ` libio/strfile.h Jeffrey A Law
0 siblings, 1 reply; 4+ messages in thread
From: John Carr @ 1997-09-21 12:18 UTC (permalink / raw)
To: egcs-bugs
libio has an internal header named strfile.h. I tried to use g++ to
build a program which had its own file named strfile.h. The program's
strfile.h was found instead of the compiler's. strfile.h is not
specified in the draft ANSI C++ standard; nonstandard filenames should
have some compiler or library unique prefix (<libio/strfile.h>,
<g++-strfile.h>) to avoid this kind of problem.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-08-18 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-17 4:38 libio/strfile.h Fred Richardson (at home)
1998-08-18 18:14 ` libio/strfile.h Jeffrey A Law
-- strict thread matches above, loose matches on Subject: below --
1997-09-21 12:18 libio/strfile.h John Carr
1997-09-21 14:04 ` libio/strfile.h Jeffrey A Law
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).