From: Alexandre Oliva <oliva@dcc.unicamp.br>
To: Levente Farkas <lfarkas@ohsh.u-szeged.hu>
Cc: egcs@cygnus.com
Subject: Re: friend templates in gcc-2.8.0 & egcs-1.0.1
Date: Sat, 31 Jan 1998 12:16:00 -0000 [thread overview]
Message-ID: <orpvl8iex3.fsf@amazonas.dcc.unicamp.br> (raw)
In-Reply-To: <XFMail.980131114114.!spam-lfarkas@ohsh.u-szeged.hu>
Levente Farkas writes:
> 1, from where can I know things like that ?
It is Standard C++, but I'm not sure there are any books that cover
this already. You might buy a copy of the C++ Standard :-)
But I'd rather have this particular issue in the FAQ.
> So is there any backward compatible solution ???
You may use -fguiding-decls to have a backward-compatible behavior,
but have in mind that you'll not be programming standard C++. The
best you can do is to use SGI STL-like compatibility macros. Take a
look at stl_config.h, as installed by egcs and gcc, and modify your
code so that it will compile with both outdated compilers and
Standard-compliant ones.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
next prev parent reply other threads:[~1998-01-31 12:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-29 16:16 Levente Farkas
1998-01-30 17:54 ` Alexandre Oliva
1998-01-31 2:48 ` Levente Farkas
1998-01-31 12:16 ` Alexandre Oliva [this message]
1998-01-31 13:14 ` Mumit Khan
1998-01-31 13:02 ` Mumit Khan
1998-02-08 0:14 ` Jeffrey A Law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=orpvl8iex3.fsf@amazonas.dcc.unicamp.br \
--to=oliva@dcc.unicamp.br \
--cc=egcs@cygnus.com \
--cc=lfarkas@ohsh.u-szeged.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).