On 2005-01-07 4:31 AM, Keith MARSHALL wrote:
>>Since gcc 3.3, the preprocessor is built into compiler (the
>>standalone cpp driver just invokes cc1.exe or cc1plus.exe)
>>and Earnie's command works as he reports.
> Thanks for this, Danny. It may well be true -- in which case
> the GCC Online Documentation is wrong, since the quote I cited
> earlier still appears in the 3.4.3 branch of the CPP online
> manual ;-(
I would bet that you've found a reportable defect in
the documentation then.
> As a further note, Earnie's command doesn't work as advertised
> on pre-3.3 versions.
Yet, to be fair, I don't think Earnie said it would.
> I suspect that there are still many users
> of earlier releases -- myself among them. Many of us will continue
> to use these earlier releases, until we find some burning need to
> use some feature of a newer version -- "if it ain't broke, don't
> fix it".
For my main project, I finally withdrew support for
2.95.2-1 a few days ago because absence of <locale>
was too limiting. Now, in migrating to 3.2.3, I
find myself writing this
#if defined __GLIBCPP__ && __GLIBCPP__==20030426
<< "This is due to a defect in libstdc++-v3\n"
<< "that appears to have been fixed in CVS.\n"
<< "Try using ostream.tcc version 126.96.36.199,\n"
<< "dated 2003-12-01T19:39:49 .\n"
in a unit test, and thinking I might be better off
with an even more recent version. Lots of stuff that
was broken at one time gets fixed, and I spent a lot
of time tracking down that particular problem only
to see that it had already been fixed. That seems
like a waste in retrospect.
> I, for one, have better things to do with my time than
> continually chasing the bleeding edge of GCC development, (but I
> probably *should* do something about that 2.96 snapshot, which
> Mandrakesoft shoved into their 8.2 Linux distribution -- IIRC,
> it reportedly *does* have some real problems, although it
> hasn't bitten me yet :-)
IIRC, the gcc maintainers never released any version
numbered 2.96--someone else did without their sanction,
and it was of lower quality than actual gcc releases
from the gcc project. But anything before 3.x is really
ancient, and 3.x has enormous C++ standard library