This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Standard Template Library


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@cs.ust.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]