This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ostream::form() replacement under gcc3.2
- From: "Claudio Bley" <bley at cs dot uni-magdeburg dot de>
- To: "Hans Horn" <hannes at 2horns dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 29 Aug 2002 11:19:03 +0200
- Subject: Re: ostream::form() replacement under gcc3.2
- Newsgroups: gmane.comp.gcc.help
- References: <akk4su$p22$1@main.gmane.org>
>>>>> "Hans" == Hans Horn <hannes@2horns.com> writes:
Hans> List, I just upgraded my gcc compiler from 2.95 to 3.02 and
Hans> am utterly displeased with what was done to gcc and the libs
Hans> that come with it.
Hans> none of my code compiles any more (due to missing
Hans> ostream::form(), R.I.P.).
Hans> reverting back to the "old" compiler (using gcc-2 instead of
Hans> gcc), however, doesn't link because refs to ostream::endl,
Hans> ostream::operator<<, and such are undefined.
Hans> Is there any replacement for ostream::form() that I can use
Hans> w/o having to edit thousands of lines of code?
No, AFAIK. Why were you using ostream::form() at all? It seems to be
just a synonym for printf?!
--
Claudio Bley _
ASCII ribbon campaign ( )
ICQ# 83197241 - against HTML email X
http://www.cs.uni-magdeburg.de/~bley/ & vCards / \