From: cheungkh AT cs DOT ust DOT hk (Cheung Kwok Hung) Subject: Standard Template Library 1 Jul 1997 15:14:30 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199707011841.CAA01890.cygnus.gnu-win32@cssu147.cs.ust.hk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Original-To: gnu-win32 AT cygnus DOT com X-Mailer: ELM [version 2.4 PL25] Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi, Is there anybody try to use the gcc for Win32 with STL? I encounter a lot of multiple definition errors during linking phase if I use STL container in more than one source files. When I trace into the system header files. I find that there is a header file "alloc.h" in /usr/include/g++ which declare some static variables, which originate multiple declaration. I also find that the STL headers provided in beta 18 is different from that I got in "normal" gcc v.2.7.2. What is the problem? Herman. -- Cheung Kwok Hung, Herman (cheungkh AT cs DOT ust DOT hk) Hong Kong University of Science and Technology Rm. 4209 Tel. 2358-8834 http://www.cs.ust.hk/~cheungkh --- Under construction forever... - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".