Re: Syntax Code Compiled Incorrectly

Robert Schiele <[email protected]> Thu, 12 Sep 2002 18:21:50 +0200
Newsgroups org.kernel.vger.linux-gcc
Message-ID <[email protected]>
On Thu, Sep 12, 2002 at 07:33:01AM -0400, Mike Black wrote:
> I can tell you that your program does not compile on gcc 2.95.3
> But it does compile on gcc 3.1
> I tried checking gcc.gnu.org but my queries would never finish.
> I suspect it was a bug that has been fixed.  A google search shows others with the same problem up to gcc 3.0.

That's partially correct. It is not a bug in the compiler, but this
variant of the compare() method was not implemented in the STL shipped
with older gccs.

To fix that you have to upgrade your STL. I don't know, if current STL
works with older compilers, so it might be necessary to upgrade the
compiler too.

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:[email protected]
signature.asc (application/pgp-signature, 524 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEVAwUBPYC/HsQAnns5HcHpAQGOYQgAgD4y+HLzjCqBuaUZpjiXBmvEXM/VdEGn
rJbREZrnTTLAHOrOmwrhes5Gt8T/o2HpmW0IGSFvUlKaPtJ6aX1mkuykVlelMdPl
PdgbOKWieE5qHpJ6sDw6w7+JT9UdX0gura0U4Za/EOkqwF+XreDA9xaPCmT2hwLj
akuNYyNVuzHmTjSZXtSXdwKOwi+4vZJWaSEST8e1AxGhsZS7/okiQ2aj6pHnireg
nSj7bBXa74mxAhSUgRkFMeSSppZh7SAPDuXg/N9NVs75SxQu/X5J8AU5qZaRZjFW
6r95UzYek0vCmOJHIU7aB8d1P2Y/TRaMGja8A8W0qgSBh2CjKC2UqQ==
=hofh
-----END PGP SIGNATURE-----