This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12830] Static template member variable not instantiated
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2003 21:32:58 -0000
- Subject: [Bug c++/12830] Static template member variable not instantiated
- References: <20031029194824.12830.troyer@itp.phys.ethz.ch>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12830
------- Additional Comments From bangerth at dealii dot org 2003-10-29 21:32 -------
The code is correct, you do not have to instantiate templates yourself
according to the standard. However, gcc sometimes needs to rely on the
operating system providing certain things, and no support for weak
symbols is a pretty big roadblock for templates. I don't know enough
about Darwin, though, to further comment on this.
W.