This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ 2.95.2/AIX 4.3 fails to implicitly instantiate explicitly initialized static POD data of a class template
- To: Martin Sebor <sebor at roguewave dot com>
- Subject: Re: g++ 2.95.2/AIX 4.3 fails to implicitly instantiate explicitly initialized static POD data of a class template
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: 15 Aug 2000 20:34:03 -0700
- CC: gcc-bugs at gcc dot gnu dot org
- References: <3999C874.7E4C3C20@roguewave.com>
Martin Sebor <sebor@roguewave.com> writes:
> Hi,
>
> g++ 2.95.2 doesn't implicitly instantiate S<char>::b below on IBM AIX
> 4.3 and DEC OSF1 5.0. Removing the explicit initializer or explicitly
> instantiating the template works. I have reported this issue separately
> for g++ on DEC OSF (Tru64) but I don't think it ever made it into GNATS,
> nor did I receive a response, but I guess that's because g++ is not
> supported on Tru64.
This is tested for by the G++ testsuite, and to the best of my
knowledge has never worked in g++ on AIX. I wouldn't mind knowing how
to fix it, but I don't know how it should work in a COFF environment.
--
- Geoffrey Keating <geoffk@cygnus.com>