On 7 mai, 19:43, James Kuyper <jameskuy...@[EMAIL PROTECTED]
> wrote:
> I have two questions:
>
> 1. Which set of options makes those versions of that compiler come
> closest to fully conforming to the C++98 standard?
>
Personally, I simply use -std=c++98 -Wall -Wextra -pedantic
>
> 2. I own a perfectly legal copy of C++98 standard, which is currently
> stuck on a hard drive that is inaccessible due to hardware failure and
> software installation problems. If I had more practical C++ experience,
> that wouldn't matter, but to fix those old-style cast problems, I need
> to reference the standard, or a good substitute for the standard. What
> is the closest substitute to that version of the standard, that I could
> get access to for free today (which basically means it has to be
> something online)?
There is a version "call for comments" or something like that from
1997 that is freely available.
Also note that the standard was revised in 2003, and that the GCC C+
+98 mode actually tries to comply with that version and not the 1998
one. The differences between those are freely available, too.
However, I don't remember the URLs of those do***ents.
You can also look at the numerous drafts that are being written for
the next C++ standard, C++0x. Those are freely available at open-
std.org.
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


|