[Bug c++/11585] static template member definition fails

jaco at kroon dot co dot za gcc-bugzilla@gcc.gnu.org
Sun Feb 27 17:14:00 GMT 2005


------- Additional Comments From jaco at kroon dot co dot za  2005-02-27 06:17 -------
$ g++ -o templates templates.C -Wall
/tmp/ccoANWiL.o(.gnu.linkonce.t._ZN7FactoryIiE9createOneEv+0xd): In function
`Factory<int>::createOne()':
: undefined reference to `Factory<int>::_types'
collect2: ld returned 1 exit status


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11585



More information about the Gcc-bugs mailing list