From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Orn E. Hansen" To: Paul Henning Cc: egcs@cygnus.com, jason@cygnus.com, law@cygnus.com Subject: Re: problems with the recent snapshot (971207) Date: Tue, 09 Dec 1997 06:04:00 -0000 Message-id: <199712091401.PAA24515@oehansen.pp.se> References: <199712081821.NAA02972@hal.ttlc.net> <199712082343.RAA29705@server.cs.uiowa.edu> X-SW-Source: 1997-12/msg00534.html Paul Henning writes: > > > Essentially, this program won't link: > > === > #include > #include > int main(void) { string s = "Hello, world"; cout << s << endl; return 0; } > === > As the bastring.cc is supplied in the include directory I compiled it as a template class... ------ #include template class basic_string; #include ------ and then tried to compile a program I have, with this object for string, but I got the following additional errors... which appears to indicate that templates are broken. Menu.o(.data+0x0): multiple definition of `__default_alloc_template::free_list' main.o(.data+0x34c): first defined here