This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: C++ and useful error messages
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: C++ and useful error messages
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 19 Dec 2000 12:08:05 +0100
- Cc: <gcc at gcc dot gnu dot org>, <libstdc++ at gcc dot gnu dot org>
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.BSF.4.30.0012190957520.63876-100000@deneb.dbai.tuwien.ac.at>
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
| I predict that after the release of GCC 3.0 we will see an avalanche of
| bug reports/complaints that g++ fails for the most simple kind of input:
|
| #include <vector>
| class C {
| vector<int> vi;
| };
|
| % gccvs x.cc
| x.cc:3: syntax error before `;' token
|
| Yes, this program is not ISO C++, but still this kind of failure mode
| is hardly acceptable, IMNSHO.
Well, I predict that GCC-3.0 won't be released with the C++ front-end
as currently is :-) Certainly some work need to be done in the
diagnostics area. I've (and presumably other C++ guys) been
overworked these last days; hopefully things will slow down.
| (I noticed that the libstdc++ folks do provide a backwards-compatibility
| mode when one includes <vector.h>, not <vector>. Excellent idea!)
Exactly where those headers should be installed and which compiler
flags should turn them on is currently a matter of debate.
-- Gaby