This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanx Craig. Its good to know that the bug is fixed (eventually) but since
gcc3 isn't in final release yet and it would be a significant effort to get
all our code to build under 3 (we're not entirely ANSI compliant in a few key
pieces of code - humoursly [is that a word??], one in which this code is
intended to replace!), I hope that a compiler upgrade won't be our only
viable solution in the near term.
regards & later,
Ben Scherrey
On Saturday 24 February 2001 11:57 pm, Craig Rodrigues wrote:
> I tried compiling your example with a snapshot of gcc
> from http://www.codesourcery.com/gcc-snapshots/
> % gcc -v
> gcc version 3.0 20010223 (prerelease)
>
> % gcc Any.cpp
> % ./a.out
>
> const char* Any ctor: s = First try.
> const char* Any ctor: s = I'm a string!.
> Ss Any ctor: z = I'm a string!.
> i Any ctor: z = 42.
> Ss Any ctor: z = I'm a string!.
>
> I'm not sure what the workaround for gcc 2.95.2 would be.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBOpiToGj9nzX41wUgEQLsyACgx+F8pvlWVKBe/XmnWgqPsaX3B8IAoPzn
wMLMYrpOfY1Xeov5bTPpjSgt
=hzhD
-----END PGP SIGNATURE-----