Thread: MinGW, standard library, pain.

  1. #1
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465

    MinGW, standard library, pain.

    I get a big set of errors if I try to use stream libraries. For example, stringstreams. I tried to do something like

    Code:
    std::basic_stringstream<TCHAR> ss;
    ss << port;
    I get errors like

    Code:
    /bits/basic_ios.h: At global scope:
    /bits/basic_ios.h: In instantiation of `std::basic_ios<TCHAR, std::char_traits<wchar_t> >':
    /istream:60:   instantiated from `std::basic_istream<TCHAR, std::char_traits<wchar_t> >'
    /istream:706:   instantiated from `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >'
    /sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'socketry.cpp:19:   instantiated from here
    /bits/basic_ios.h:67: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /istream: In instantiation of `std::basic_istream<TCHAR, std::char_traits<wchar_t> >':
    /istream:706:   instantiated from `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >'
    /sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'socketry.cpp:19:   instantiated from here
    /istream:65: error: notype named `pos_type' in `struct std::char_traits<wchar_t>'
    /bits/istream.tcc:847:error: no type named `pos_type' in `class std::basic_istream<TCHAR, std::char_traits<wchar_t> >'
    /bits/istream.tcc:865:error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /ostream: In instantiation of `std::basic_ostream<TCHAR, std::char_traits<wchar_t> >':
    /istream:706:   instantiated from `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >'
    /sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'socketry.cpp:19:   instantiated from here
    /ostream:64: error: notype named `pos_type' in `struct std::char_traits<wchar_t>'
    /bits/ostream.tcc:404:error: no type named `pos_type' in `class std::basic_ostream<TCHAR, std::char_traits<wchar_t> >'
    /bits/ostream.tcc:420:error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /istream: In instantiation of `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >':
    /sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'socketry.cpp:19:   instantiated from here
    /istream:713: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /sstream: In instantiation of `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >':socketry.cpp:19:   instantiated from here
    /sstream:547: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /streambuf: In instantiation of `std::basic_streambuf<TCHAR, std::char_traits<wchar_t> >':
    /sstream:64:   instantiated from `std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    /sstream:561:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'socketry.cpp:19:   instantiated from here
    /streambuf:135: error:no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /streambuf:234: error:no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /streambuf:239: error:no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /streambuf:574: error:no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /streambuf:586: error:no type named `pos_type' in `struct std::char_traits<wchar_t>'
    /sstream: In instantiation of `std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
    /sstream:561:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'socketry.cpp:19:   instantiated from here
    /sstream:73: error: notype named `pos_type' in `struct std::char_traits<wchar_t>'
    /bits/sstream.tcc: In instantiation of `std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
    /sstream:561:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'socketry.cpp:19:   instantiated from here
    /bits/sstream.tcc:136:error: no type named `pos_type' in `class std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    /bits/sstream.tcc:182:error: no type named `pos_type' in `class std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    This seems unrelated to my earlier problem, and is confusing.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I heard there are some issues with MingW and wchar_t support. Do you have the most recent version of MinGW?

    http://www.mingw.org/MinGWiki/index....e%20characters

    The solution: get STLPort instead of the default libstdc++ that comes with MinGW.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    MinGW's current implementation of the stl has almost no wide character support. Use, for example, stlport instead.

    edit: biffed by CornedBee.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    And it took me soooo long to find the link. I'm disappointed in you
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    I tried reading INSTALL and got to the make -f gcc.mak clean install, and that got all done nicely, and then I made my makefile like

    Code:
    LIBPATH   = -L"c:/development/dev/lib"                       \
    			-L"c:/development/dev/lib/gcc/mingw32/3.4.2"     \
    			-L"c:/development/stlport-5.1.0/lib"
    
    LIBS      = -luser32 -lkernel32 -lgdi32 -lws2_32 -lstlport
    OBJS      = test.o util.o socketry.def socketry.o
    
    LDFLAGS   = -Wl --subsystem,windows $(LIBPATH) $(LIBS)
    INCLUDES  = -I "c:/development/stlport-5.1.0/stlport"
    CXXFLAGS  = -c -Wall $(INCLUDES)
    
    
    all: test
    
    test: $(OBJS)
    	$(CC) $(OBJS) -o test.exe $(LDFLAGS)
    And I still get errors like

    Code:
    g++ -c -Wall -I "c:/development/stlport-5.1.0/stlport" socketry.cpp
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h: In instantiation of `std::basic_ios<TCHAR, std::char_traits<wchar_t> >':
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream:60:   instantiated from `std::basic_istream<TCHAR, std::char_traits<wchar_t> >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream:706:   instantiated from `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:67: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream: In instantiation of `std::basic_istream<TCHAR, std::char_traits<wchar_t> >':
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream:706:   instantiated from `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream:65: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:847: error: no type named `pos_type' in `class std::basic_istream<TCHAR, std::char_traits<wchar_t> >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:865: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream: In instantiation of `std::basic_ostream<TCHAR, std::char_traits<wchar_t> >':
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream:706:   instantiated from `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream:64: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ostream.tcc:404: error: no type named `pos_type' in `class std::basic_ostream<TCHAR, std::char_traits<wchar_t> >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ostream.tcc:420: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream: In instantiation of `std::basic_iostream<TCHAR, std::char_traits<wchar_t> >':
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:538:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/istream:713: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream: In instantiation of `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:547: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/streambuf: In instantiation of `std::basic_streambuf<TCHAR, std::char_traits<wchar_t> >':
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:64:   instantiated from `std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:561:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/streambuf:135: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/streambuf:234: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/streambuf:239: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/streambuf:574: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/streambuf:586: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream: In instantiation of `std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:561:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:73: error: no type named `pos_type' in `struct std::char_traits<wchar_t>'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/sstream.tcc: In instantiation of `std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:561:   instantiated from `std::basic_stringstream<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    socketry.cpp:20:   instantiated from here
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/sstream.tcc:136: error: no type named `pos_type' in `class std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t>
     >'
    C:/Development/Dev/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/sstream.tcc:182: error: no type named `pos_type' in `class std::basic_stringbuf<TCHAR, std::char_traits<wchar_t>, std::allocator<wchar_t>
     >'
    The -pthreads flag was unrecognized by g++.

  6. #6
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    I have now read INSTALL, README.mingw, and FAQ, and feel closer but without a cigar. I ran make -f gcc.mak clean install the build/lib, and then the same for the tests/unit, and have gotton errors after adding C:\Development\STLport-5.1.0\bin to the path.

    Code:
    C:\Development\STLport-5.1.0\bin>stl_unit_test.exe
    AccumTest::accum1
    AccumTest::accum2
    AdjTest::adjfind0
    AdjTest::adjfind1
    AdjTest::adjfind2
    AdjTest::adjdiff0
    AdjTest::adjdiff1
    AdjTest::adjdiff2
    AdvanceTest::adv
    AlgTest::min_max
    AlgTest::count_test
    AlgTest::sort_test
    AlgTest::search_n_test
    AlgTest::find_first_of_test
    AllocatorTest::bad_alloc_test
    BcomposTest::bcompos1
    BcomposTest::bcompos2
    BindTest::bind1st1
    BindTest::bind2nd1
    BindTest::bind2nd2
    BindTest::bind2nd3
    BindTest::bind_memfn
    BinsertTest::binsert1
    BinsertTest::binsert2
    BitsetTest::bitset1
    BnegateTest::bnegate1
    BnegateTest::bnegate2
    BoundTest::lwrbnd1
    BoundTest::lwrbnd2
    BoundTest::uprbnd1
    BoundTest::uprbnd2
    BsearchTest::bsearch1
    BsearchTest::bsearch2
    BvectorTest::bvec1
    CMathTest::test
    ConfigTest::placement_new_bug
    ConfigTest::endianess
    ConfigTest::template_function_partial_ordering
    CopyTest::copy_array
    CopyTest::copy_vector
    CopyTest::copy_insert
    CopyTest::copy_back
    CopyTest::copy_back_array
    CountTest::count0
    CountTest::count1
    CountTest::countif1
    DequeTest::deque1
    DequeTest::at
    DequeTest::auto_ref
    DequeTest::allocator_with_state
    DequeTest::optimizations_check
    DivideTest::div
    EqualTest::equal_range0
    EqualTest::equal_range1
    EqualTest::equal_range2
    EqualTest::equal0
    EqualTest::equal1
    EqualTest::equal2
    EqualTest::equalto
    ExceptionTest::unexpected_except
    ExceptionTest::uncaught_except
    
    ../../../test/unit/exception_test.cpp(101) : CPPUNIT_ASSERT(uncaught_result == 0);
    FillTest::fill1
    FillTest::filln1
    FindTest::find0
    FindTest::find1
    FindTest::findif0
    FindTest::findif1
    FindTest::find_char
    FinsertTest::finsert1
    FinsertTest::finsert2
    ForeachTest::foreach0
    ForeachTest::foreach1
    FstreamTest::output
    FstreamTest::input
    FstreamTest::input_char
    FstreamTest::io
    
    FstreamTest::err
    FstreamTest::tellg
    FstreamTest::buf
    FstreamTest::rdbuf
    FstreamTest::streambuf_output
    FstreamTest::win32_file_format
    FstreamTest::custom_facet
    FuncTest::func1
    FuncTest::func2
    FuncTest::func3
    GeneratorTest::gener1
    GeneratorTest::gener2
    GeneratorTest::genern1
    GeneratorTest::genern2
    GreaterTest::greatert
    GreaterTest::greatereq
    HashTest::hmap1
    HashTest::hmmap1
    HashTest::hmset1
    HashTest::hset2
    HashTest::insert_erase
    HashTest::allocator_with_state
    HeapTest::mkheap0
    HeapTest::mkheap1
    HeapTest::pheap1
    HeapTest::pheap2
    IncludesTest::incl0
    IncludesTest::incl1
    IncludesTest::incl2
    InnerprodTest::inprod0
    InnerprodTest::inprod1
    InnerprodTest::inprod2
    InplaceTest::inplmrg1
    InplaceTest::inplmrg2
    InsertTest::insert1
    InsertTest::insert2
    IoiterTest::ioiter_test
    IOStreamTest::manipulators
    IotaTest::iota1
    IStreamIteratorTest::istmit1
    IStreamIteratorTest::copy_n_test
    IterTest::iter1
    IterTest::iter3
    IterTest::iter4
    IterTest::iterswp0
    IterTest::iterswp1
    IterTest::iterswp2
    IterTest::iterswp3
    LessTest::lesst
    LessTest::lesseqt
    LexcmpTest::lexcmp1
    LexcmpTest::lexcmp2
    LimitTest::test
    LimitTest::qnan_test
    ListTest::list1
    ListTest::list2
    ListTest::list3
    ListTest::list4
    ListTest::erase
    ListTest::resize
    ListTest::push_back
    ListTest::push_front
    ListTest::allocator_with_state
    ListTest::swap
    LocaleTest::locale_by_name
    LocaleTest::loc_has_facet
    LocaleTest::num_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::money_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::money_put_X_bug
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::time_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::collate_facet
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::ctype_facet
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::locale_init_problem
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::default_locale
    LocaleTest::facet_id
    LogicTest::logicand
    LogicTest::logicnot
    LogicTest::logicor
    MapTest::map1
    MapTest::mmap1
    MapTest::mmap2
    MapTest::iterators
    MapTest::equal_range
    MapTest::allocator_with_state
    MapTest::template_methods
    MaxTest::max1
    MaxTest::max2
    MaxTest::maxelem1
    MaxTest::maxelem2
    MergeTest::merge0
    MergeTest::merge1
    MergeTest::merge2
    MemFunPtrTest::mem_ptr_fun
    MemFunPtrTest::find
    MinTest::min1
    MinTest::min2
    MinTest::minelem1
    MinTest::minelem2
    MismatchTest::mismatch0
    MismatchTest::mismatch1
    MismatchTest::mismatch2
    ModulusTest::modulus0
    MultisetTest::mset1
    MultisetTest::mset3
    MultisetTest::mset5
    MoveConstructorTest::move_construct_test
    MoveConstructorTest::deque_test
    MoveConstructorTest::vector_test
    MoveConstructorTest::move_traits
    MoveConstructorTest::movable_declaration
    NeqTest::negate0
    NeqTest::nequal0
    NthElemTest::nthelem0
    NthElemTest::nthelem1
    NthElemTest::nthelem2
    NumPutGetTest::num_put_float
    NumPutGetTest::num_put_integer
    NumPutGetTest::num_get_float
    NumPutGetTest::num_get_integer
    OstreamIteratorTest::ostmit0
    PairTest::pair0
    PartialTest::parsrt0
    PartialTest::parsrt1
    PartialTest::parsrt2
    PartialTest::parsrtc0
    PartialTest::parsrtc1
    PartialTest::parsrtc2
    PartialTest::partsum0
    PartialTest::partsum1
    PartialTest::partsum2
    PartitionTest::ptition0
    PartitionTest::ptition1
    PartitionTest::stblptn0
    PartitionTest::stblptn1
    PermTest::nextprm0
    PermTest::nextprm1
    PermTest::nextprm2
    PermTest::prevprm0
    PermTest::prevprm1
    PermTest::prevprm2
    PlusMinusTest::plus0
    PlusMinusTest::minus0
    Ptr2Test::ptrbin1
    Ptr2Test::ptrbin2
    Ptr2Test::ptrun1
    Ptr2Test::ptrun2
    PtrSpecTest::ptr_specialization_test
    QueueTest::pqueue1
    QueueTest::queue1
    RawriterTest::rawiter1
    ReviterTest::reviter1
    ReviterTest::reviter2
    ReviterTest::revbit1
    RmCpTest::remcopy1
    RmCpTest::remcpif1
    RmCpTest::remif1
    RmCpTest::remove1
    RmCpTest::repcpif1
    RmCpTest::replace0
    RmCpTest::replace1
    RmCpTest::replcpy1
    RmCpTest::replif1
    RmCpTest::revcopy1
    RmCpTest::reverse1
    RndShuffleTest::rndshuf0
    RndShuffleTest::rndshuf2
    RopeTest::io
    RopeTest::find1
    RopeTest::find2
    RopeTest::construct_from_char
    RopeTest::bug_report
    RotateTest::rotate0
    RotateTest::rotate1
    RotateTest::rotcopy0
    RotateTest::rotcopy1
    SearchTest::search0
    SearchTest::search1
    SearchTest::search2
    SetTest::set1
    SetTest::set2
    SetTest::erase
    SetTest::insert
    SetTest::find
    SetTest::bounds
    SetTest::specialized_less
    SetTest::implementation_check
    SetTest::allocator_with_state
    SetTest::reverse_iterator_test
    SetTest::template_methods
    SetDifferenceTest::setdiff0
    SetDifferenceTest::setdiff1
    SetDifferenceTest::setdiff2
    SetDifferenceTest::setsymd0
    SetDifferenceTest::setsymd1
    SetDifferenceTest::setsymd2
    SetIntersectionTest::setintr0
    SetIntersectionTest::setintr1
    SetIntersectionTest::setintr2
    SetUnionTest::setunon0
    SetUnionTest::setunon1
    SetUnionTest::setunon2
    SlistTest::slist1
    SlistTest::erase
    SlistTest::insert
    SlistTest::splice
    SlistTest::allocator_with_state
    SortTest::sort1
    SortTest::sort2
    SortTest::sort3
    SortTest::sort4
    SortTest::stblsrt1
    SortTest::stblsrt2
    SstreamTest::output
    SstreamTest::input
    SstreamTest::input_char
    SstreamTest::io
    SstreamTest::err
    SstreamTest::err_long
    SstreamTest::maxint
    SstreamTest::init_in
    SstreamTest::init_out
    SstreamTest::buf
    SstreamTest::rdbuf
    SstreamTest::streambuf_output
    SstreamTest::seek
    StackTest::stack1
    StackTest::stack2
    StringTest::constructor
    StringTest::reserve
    StringTest::assign
    StringTest::erase
    StringTest::data
    StringTest::c_str
    StringTest::null_char
    StringTest::insert
    StringTest::replace
    StringTest::resize
    StringTest::short_string
    StringTest::find
    StringTest::copy
    StringTest::mt
    StringTest::short_string_optim_bug
    StringTest::compare
    StringTest::template_expression
    StringTest::te_tmp
    StringTest::template_wexpression
    StringTest::io
    StringTest::allocator_with_state
    StringTest::capacity
    SwapTest::swap1
    SwapTest::swprnge1
    TimesTest::times
    TransformTest::trnsfrm1
    TransformTest::trnsfrm2
    TransformTest::self_str
    TypeTraitsTest::manips
    TypeTraitsTest::integer
    TypeTraitsTest::rational
    TypeTraitsTest::pointer_type
    TypeTraitsTest::reference_type
    TypeTraitsTest::both_pointer_type
    TypeTraitsTest::ok_to_use_memcpy
    TypeTraitsTest::ok_to_use_memmove
    TypeTraitsTest::trivial_destructor
    TypeTraitsTest::is_POD
    TypeTraitsTest::stlport_class
    UnaryTest::ucompos1
    UnaryTest::ucompos2
    UnaryTest::unegate1
    UnaryTest::unegate2
    UnaryTest::unegate3
    UninitializedTest::copy_test
    UniqueTest::uniqcpy1
    UniqueTest::uniqcpy2
    UniqueTest::unique1
    UniqueTest::unique2
    UnorderedTest::uset
    UnorderedTest::umultiset
    UnorderedTest::umap
    UnorderedTest::umultimap
    UnorderedTest::user_case
    UnorderedTest::hash_policy
    UnorderedTest::buckets
    UnorderedTest::equal_range
    UnorderedTest::template_methods
    ValarrayTest::transcendentals
    VectorTest::vec_test_1
    VectorTest::vec_test_2
    VectorTest::vec_test_3
    VectorTest::vec_test_4
    VectorTest::vec_test_5
    VectorTest::vec_test_6
    VectorTest::vec_test_7
    VectorTest::capacity
    VectorTest::at
    VectorTest::pointer
    VectorTest::auto_ref
    VectorTest::allocator_with_state
    VectorTest::optimizations_check
    ErrnoTest::check
    
    There were errors! 1 of 376 tests
    
    C:\Development\STLport-5.1.0\bin>cd ../bin-g
    
    C:\Development\STLport-5.1.0\bin-g>stl_unit_test.exe
    AccumTest::accum1
    AccumTest::accum2
    AdjTest::adjfind0
    AdjTest::adjfind1
    AdjTest::adjfind2
    AdjTest::adjdiff0
    AdjTest::adjdiff1
    AdjTest::adjdiff2
    AdvanceTest::adv
    AlgTest::min_max
    AlgTest::count_test
    AlgTest::sort_test
    AlgTest::search_n_test
    AlgTest::find_first_of_test
    AllocatorTest::bad_alloc_test
    BcomposTest::bcompos1
    BcomposTest::bcompos2
    BindTest::bind1st1
    BindTest::bind2nd1
    BindTest::bind2nd2
    BindTest::bind2nd3
    BindTest::bind_memfn
    BinsertTest::binsert1
    BinsertTest::binsert2
    BitsetTest::bitset1
    BnegateTest::bnegate1
    BnegateTest::bnegate2
    BoundTest::lwrbnd1
    BoundTest::lwrbnd2
    BoundTest::uprbnd1
    BoundTest::uprbnd2
    BsearchTest::bsearch1
    BsearchTest::bsearch2
    BvectorTest::bvec1
    CMathTest::test
    ConfigTest::placement_new_bug
    ConfigTest::endianess
    ConfigTest::template_function_partial_ordering
    CopyTest::copy_array
    CopyTest::copy_vector
    CopyTest::copy_insert
    CopyTest::copy_back
    CopyTest::copy_back_array
    CountTest::count0
    CountTest::count1
    CountTest::countif1
    DequeTest::deque1
    DequeTest::at
    DequeTest::auto_ref
    DequeTest::allocator_with_state
    DequeTest::optimizations_check
    DivideTest::div
    EqualTest::equal_range0
    EqualTest::equal_range1
    EqualTest::equal_range2
    EqualTest::equal0
    EqualTest::equal1
    EqualTest::equal2
    EqualTest::equalto
    ExceptionTest::unexpected_except
    ExceptionTest::uncaught_except
    
    
    ../../../test/unit/exception_test.cpp(101) : CPPUNIT_ASSERT(uncaught_result == 0);
    FillTest::fill1
    FillTest::filln1
    FindTest::find0
    FindTest::find1
    FindTest::findif0
    FindTest::findif1
    FindTest::find_char
    FinsertTest::finsert1
    FinsertTest::finsert2
    ForeachTest::foreach0
    ForeachTest::foreach1
    FstreamTest::output
    FstreamTest::input
    FstreamTest::input_char
    FstreamTest::io
    FstreamTest::err
    FstreamTest::tellg
    FstreamTest::buf
    FstreamTest::rdbuf
    FstreamTest::streambuf_output
    FstreamTest::win32_file_format
    FstreamTest::custom_facet
    FuncTest::func1
    FuncTest::func2
    FuncTest::func3
    GeneratorTest::gener1
    GeneratorTest::gener2
    GeneratorTest::genern1
    GeneratorTest::genern2
    GreaterTest::greatert
    GreaterTest::greatereq
    HashTest::hmap1
    HashTest::hmmap1
    HashTest::hmset1
    HashTest::hset2
    HashTest::insert_erase
    HashTest::allocator_with_state
    HeapTest::mkheap0
    HeapTest::mkheap1
    HeapTest::pheap1
    HeapTest::pheap2
    IncludesTest::incl0
    IncludesTest::incl1
    IncludesTest::incl2
    InnerprodTest::inprod0
    InnerprodTest::inprod1
    InnerprodTest::inprod2
    InplaceTest::inplmrg1
    InplaceTest::inplmrg2
    InsertTest::insert1
    InsertTest::insert2
    IoiterTest::ioiter_test
    IOStreamTest::manipulators
    IotaTest::iota1
    IStreamIteratorTest::istmit1
    IStreamIteratorTest::copy_n_test
    IterTest::iter1
    IterTest::iter3
    IterTest::iter4
    IterTest::iterswp0
    IterTest::iterswp1
    IterTest::iterswp2
    IterTest::iterswp3
    LessTest::lesst
    LessTest::lesseqt
    LexcmpTest::lexcmp1
    LexcmpTest::lexcmp2
    LimitTest::test
    LimitTest::qnan_test
    ListTest::list1
    ListTest::list2
    ListTest::list3
    ListTest::list4
    ListTest::erase
    ListTest::resize
    ListTest::push_back
    ListTest::push_front
    ListTest::allocator_with_state
    ListTest::swap
    LocaleTest::locale_by_name
    LocaleTest::loc_has_facet
    LocaleTest::num_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::money_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::money_put_X_bug
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::time_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::collate_facet
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::ctype_facet
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::locale_init_problem
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::default_locale
    LocaleTest::facet_id
    LogicTest::logicand
    LogicTest::logicnot
    LogicTest::logicor
    MapTest::map1
    MapTest::mmap1
    MapTest::mmap2
    MapTest::iterators
    MapTest::equal_range
    MapTest::allocator_with_state
    MapTest::template_methods
    MaxTest::max1
    MaxTest::max2
    MaxTest::maxelem1
    MaxTest::maxelem2
    MergeTest::merge0
    MergeTest::merge1
    MergeTest::merge2
    MemFunPtrTest::mem_ptr_fun
    MemFunPtrTest::find
    MinTest::min1
    MinTest::min2
    MinTest::minelem1
    MinTest::minelem2
    MismatchTest::mismatch0
    MismatchTest::mismatch1
    MismatchTest::mismatch2
    ModulusTest::modulus0
    MultisetTest::mset1
    MultisetTest::mset3
    MultisetTest::mset5
    MoveConstructorTest::move_construct_test
    MoveConstructorTest::deque_test
    MoveConstructorTest::vector_test
    MoveConstructorTest::move_traits
    MoveConstructorTest::movable_declaration
    NeqTest::negate0
    NeqTest::nequal0
    NthElemTest::nthelem0
    NthElemTest::nthelem1
    NthElemTest::nthelem2
    NumPutGetTest::num_put_float
    NumPutGetTest::num_put_integer
    NumPutGetTest::num_get_float
    NumPutGetTest::num_get_integer
    OstreamIteratorTest::ostmit0
    PairTest::pair0
    PartialTest::parsrt0
    PartialTest::parsrt1
    PartialTest::parsrt2
    PartialTest::parsrtc0
    PartialTest::parsrtc1
    PartialTest::parsrtc2
    PartialTest::partsum0
    PartialTest::partsum1
    PartialTest::partsum2
    PartitionTest::ptition0
    PartitionTest::ptition1
    PartitionTest::stblptn0
    PartitionTest::stblptn1
    PermTest::nextprm0
    PermTest::nextprm1
    PermTest::nextprm2
    PermTest::prevprm0
    PermTest::prevprm1
    PermTest::prevprm2
    PlusMinusTest::plus0
    PlusMinusTest::minus0
    Ptr2Test::ptrbin1
    Ptr2Test::ptrbin2
    Ptr2Test::ptrun1
    Ptr2Test::ptrun2
    PtrSpecTest::ptr_specialization_test
    QueueTest::pqueue1
    QueueTest::queue1
    RawriterTest::rawiter1
    ReviterTest::reviter1
    ReviterTest::reviter2
    ReviterTest::revbit1
    RmCpTest::remcopy1
    RmCpTest::remcpif1
    RmCpTest::remif1
    RmCpTest::remove1
    RmCpTest::repcpif1
    RmCpTest::replace0
    RmCpTest::replace1
    RmCpTest::replcpy1
    RmCpTest::replif1
    RmCpTest::revcopy1
    RmCpTest::reverse1
    RndShuffleTest::rndshuf0
    RndShuffleTest::rndshuf2
    RopeTest::io
    RopeTest::find1
    RopeTest::find2
    RopeTest::construct_from_char
    RopeTest::bug_report
    RotateTest::rotate0
    RotateTest::rotate1
    RotateTest::rotcopy0
    RotateTest::rotcopy1
    SearchTest::search0
    SearchTest::search1
    SearchTest::search2
    SetTest::set1
    SetTest::set2
    SetTest::erase
    SetTest::insert
    SetTest::find
    SetTest::bounds
    SetTest::specialized_less
    SetTest::implementation_check
    SetTest::allocator_with_state
    SetTest::reverse_iterator_test
    SetTest::template_methods
    SetDifferenceTest::setdiff0
    SetDifferenceTest::setdiff1
    SetDifferenceTest::setdiff2
    SetDifferenceTest::setsymd0
    SetDifferenceTest::setsymd1
    SetDifferenceTest::setsymd2
    SetIntersectionTest::setintr0
    SetIntersectionTest::setintr1
    SetIntersectionTest::setintr2
    SetUnionTest::setunon0
    SetUnionTest::setunon1
    SetUnionTest::setunon2
    SlistTest::slist1
    SlistTest::erase
    SlistTest::insert
    SlistTest::splice
    SlistTest::allocator_with_state
    SortTest::sort1
    SortTest::sort2
    SortTest::sort3
    SortTest::sort4
    SortTest::stblsrt1
    SortTest::stblsrt2
    SstreamTest::output
    SstreamTest::input
    SstreamTest::input_char
    SstreamTest::io
    SstreamTest::err
    SstreamTest::err_long
    SstreamTest::maxint
    SstreamTest::init_in
    SstreamTest::init_out
    SstreamTest::buf
    SstreamTest::rdbuf
    SstreamTest::streambuf_output
    SstreamTest::seek
    StackTest::stack1
    StackTest::stack2
    StringTest::constructor
    StringTest::reserve
    StringTest::assign
    StringTest::erase
    StringTest::data
    StringTest::c_str
    StringTest::null_char
    StringTest::insert
    StringTest::replace
    StringTest::resize
    StringTest::short_string
    StringTest::find
    StringTest::copy
    StringTest::mt
    StringTest::short_string_optim_bug
    StringTest::compare
    StringTest::template_expression
    StringTest::te_tmp
    StringTest::template_wexpression
    StringTest::io
    StringTest::allocator_with_state
    StringTest::capacity
    SwapTest::swap1
    SwapTest::swprnge1
    TimesTest::times
    TransformTest::trnsfrm1
    TransformTest::trnsfrm2
    TransformTest::self_str
    TypeTraitsTest::manips
    TypeTraitsTest::integer
    TypeTraitsTest::rational
    TypeTraitsTest::pointer_type
    TypeTraitsTest::reference_type
    TypeTraitsTest::both_pointer_type
    TypeTraitsTest::ok_to_use_memcpy
    TypeTraitsTest::ok_to_use_memmove
    TypeTraitsTest::trivial_destructor
    TypeTraitsTest::is_POD
    TypeTraitsTest::stlport_class
    UnaryTest::ucompos1
    UnaryTest::ucompos2
    UnaryTest::unegate1
    UnaryTest::unegate2
    UnaryTest::unegate3
    UninitializedTest::copy_test
    UniqueTest::uniqcpy1
    UniqueTest::uniqcpy2
    UniqueTest::unique1
    UniqueTest::unique2
    UnorderedTest::uset
    UnorderedTest::umultiset
    UnorderedTest::umap
    UnorderedTest::umultimap
    UnorderedTest::user_case
    UnorderedTest::hash_policy
    UnorderedTest::buckets
    UnorderedTest::equal_range
    UnorderedTest::template_methods
    ValarrayTest::transcendentals
    VectorTest::vec_test_1
    VectorTest::vec_test_2
    VectorTest::vec_test_3
    VectorTest::vec_test_4
    VectorTest::vec_test_5
    VectorTest::vec_test_6
    VectorTest::vec_test_7
    VectorTest::capacity
    VectorTest::at
    VectorTest::pointer
    VectorTest::auto_ref
    VectorTest::allocator_with_state
    VectorTest::optimizations_check
    ErrnoTest::check
    
    There were errors! 1 of 376 tests
    
    C:\Development\STLport-5.1.0\bin-g>cd ../bin-stlg
    
    C:\Development\STLport-5.1.0\bin-stlg>stl_unit_test.exe
    AccumTest::accum1
    AccumTest::accum2
    AdjTest::adjfind0
    AdjTest::adjfind1
    AdjTest::adjfind2
    AdjTest::adjdiff0
    AdjTest::adjdiff1
    AdjTest::adjdiff2
    AdvanceTest::adv
    AlgTest::min_max
    AlgTest::count_test
    AlgTest::sort_test
    AlgTest::search_n_test
    AlgTest::find_first_of_test
    AllocatorTest::bad_alloc_test
    BcomposTest::bcompos1
    BcomposTest::bcompos2
    BindTest::bind1st1
    BindTest::bind2nd1
    BindTest::bind2nd2
    BindTest::bind2nd3
    BindTest::bind_memfn
    BinsertTest::binsert1
    BinsertTest::binsert2
    BitsetTest::bitset1
    BnegateTest::bnegate1
    BnegateTest::bnegate2
    BoundTest::lwrbnd1
    BoundTest::lwrbnd2
    BoundTest::uprbnd1
    BoundTest::uprbnd2
    BsearchTest::bsearch1
    BsearchTest::bsearch2
    BvectorTest::bvec1
    CMathTest::test
    ConfigTest::placement_new_bug
    ConfigTest::endianess
    ConfigTest::template_function_partial_ordering
    CopyTest::copy_array
    CopyTest::copy_vector
    CopyTest::copy_insert
    CopyTest::copy_back
    CopyTest::copy_back_array
    CountTest::count0
    CountTest::count1
    CountTest::countif1
    DequeTest::deque1
    DequeTest::at
    DequeTest::auto_ref
    DequeTest::allocator_with_state
    DequeTest::optimizations_check
    DivideTest::div
    EqualTest::equal_range0
    EqualTest::equal_range1
    EqualTest::equal_range2
    EqualTest::equal0
    EqualTest::equal1
    EqualTest::equal2
    EqualTest::equalto
    ExceptionTest::unexpected_except
    ExceptionTest::uncaught_except
    
    ../../../test/unit/exception_test.cpp(101) : CPPUNIT_ASSERT(uncaught_result == 0);
    FillTest::fill1
    FillTest::filln1
    FindTest::find0
    FindTest::find1
    FindTest::findif0
    FindTest::findif1
    FindTest::find_char
    FinsertTest::finsert1
    FinsertTest::finsert2
    ForeachTest::foreach0
    ForeachTest::foreach1
    FstreamTest::output
    FstreamTest::input
    FstreamTest::input_char
    FstreamTest::io
    FstreamTest::err
    FstreamTest::tellg
    FstreamTest::buf
    FstreamTest::rdbuf
    FstreamTest::streambuf_output
    FstreamTest::win32_file_format
    FstreamTest::custom_facet
    FuncTest::func1
    FuncTest::func2
    FuncTest::func3
    GeneratorTest::gener1
    GeneratorTest::gener2
    GeneratorTest::genern1
    GeneratorTest::genern2
    GreaterTest::greatert
    GreaterTest::greatereq
    HashTest::hmap1
    HashTest::hmmap1
    HashTest::hmset1
    HashTest::hset2
    HashTest::insert_erase
    HashTest::allocator_with_state
    HeapTest::mkheap0
    HeapTest::mkheap1
    HeapTest::pheap1
    HeapTest::pheap2
    IncludesTest::incl0
    IncludesTest::incl1
    IncludesTest::incl2
    InnerprodTest::inprod0
    InnerprodTest::inprod1
    InnerprodTest::inprod2
    InplaceTest::inplmrg1
    InplaceTest::inplmrg2
    InsertTest::insert1
    InsertTest::insert2
    IoiterTest::ioiter_test
    IOStreamTest::manipulators
    IotaTest::iota1
    IStreamIteratorTest::istmit1
    IStreamIteratorTest::copy_n_test
    IterTest::iter1
    IterTest::iter3
    IterTest::iter4
    IterTest::iterswp0
    IterTest::iterswp1
    IterTest::iterswp2
    IterTest::iterswp3
    LessTest::lesst
    LessTest::lesseqt
    LexcmpTest::lexcmp1
    LexcmpTest::lexcmp2
    LimitTest::test
    LimitTest::qnan_test
    ListTest::list1
    ListTest::list2
    ListTest::list3
    ListTest::list4
    ListTest::erase
    ListTest::resize
    ListTest::push_back
    ListTest::push_front
    ListTest::allocator_with_state
    ListTest::swap
    LocaleTest::locale_by_name
    LocaleTest::loc_has_facet
    LocaleTest::num_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::money_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::money_put_X_bug
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::time_put_get
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::collate_facet
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::ctype_facet
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::locale_init_problem
            fr_FR
            en_GB
            en_US
            C
    LocaleTest::default_locale
    LocaleTest::facet_id
    LogicTest::logicand
    LogicTest::logicnot
    LogicTest::logicor
    MapTest::map1
    MapTest::mmap1
    MapTest::mmap2
    MapTest::iterators
    MapTest::equal_range
    MapTest::allocator_with_state
    MapTest::template_methods
    MaxTest::max1
    MaxTest::max2
    MaxTest::maxelem1
    MaxTest::maxelem2
    MergeTest::merge0
    MergeTest::merge1
    MergeTest::merge2
    MemFunPtrTest::mem_ptr_fun
    MemFunPtrTest::find
    MinTest::min1
    MinTest::min2
    MinTest::minelem1
    MinTest::minelem2
    MismatchTest::mismatch0
    MismatchTest::mismatch1
    MismatchTest::mismatch2
    ModulusTest::modulus0
    MultisetTest::mset1
    MultisetTest::mset3
    MultisetTest::mset5
    MoveConstructorTest::move_construct_test
    MoveConstructorTest::deque_test
    MoveConstructorTest::vector_test
    MoveConstructorTest::move_traits
    MoveConstructorTest::movable_declaration
    NeqTest::negate0
    NeqTest::nequal0
    NthElemTest::nthelem0
    NthElemTest::nthelem1
    NthElemTest::nthelem2
    NumPutGetTest::num_put_float
    NumPutGetTest::num_put_integer
    NumPutGetTest::num_get_float
    NumPutGetTest::num_get_integer
    OstreamIteratorTest::ostmit0
    PairTest::pair0
    PartialTest::parsrt0
    PartialTest::parsrt1
    PartialTest::parsrt2
    PartialTest::parsrtc0
    PartialTest::parsrtc1
    PartialTest::parsrtc2
    PartialTest::partsum0
    PartialTest::partsum1
    PartialTest::partsum2
    PartitionTest::ptition0
    PartitionTest::ptition1
    PartitionTest::stblptn0
    PartitionTest::stblptn1
    PermTest::nextprm0
    PermTest::nextprm1
    PermTest::nextprm2
    PermTest::prevprm0
    PermTest::prevprm1
    PermTest::prevprm2
    PlusMinusTest::plus0
    PlusMinusTest::minus0
    Ptr2Test::ptrbin1
    Ptr2Test::ptrbin2
    Ptr2Test::ptrun1
    Ptr2Test::ptrun2
    PtrSpecTest::ptr_specialization_test
    QueueTest::pqueue1
    QueueTest::queue1
    RawriterTest::rawiter1
    ReviterTest::reviter1
    ReviterTest::reviter2
    ReviterTest::revbit1
    RmCpTest::remcopy1
    RmCpTest::remcpif1
    RmCpTest::remif1
    RmCpTest::remove1
    RmCpTest::repcpif1
    RmCpTest::replace0
    RmCpTest::replace1
    RmCpTest::replcpy1
    RmCpTest::replif1
    RmCpTest::revcopy1
    RmCpTest::reverse1
    RndShuffleTest::rndshuf0
    RndShuffleTest::rndshuf2
    RopeTest::io
    RopeTest::find1
    RopeTest::find2
    RopeTest::construct_from_char
    RopeTest::bug_report
    RotateTest::rotate0
    RotateTest::rotate1
    RotateTest::rotcopy0
    RotateTest::rotcopy1
    SearchTest::search0
    SearchTest::search1
    SearchTest::search2
    SetTest::set1
    SetTest::set2
    SetTest::erase
    SetTest::insert
    SetTest::find
    SetTest::bounds
    SetTest::specialized_less
    SetTest::implementation_check
    SetTest::allocator_with_state
    SetTest::reverse_iterator_test
    SetTest::template_methods
    SetDifferenceTest::setdiff0
    SetDifferenceTest::setdiff1
    SetDifferenceTest::setdiff2
    SetDifferenceTest::setsymd0
    SetDifferenceTest::setsymd1
    SetDifferenceTest::setsymd2
    SetIntersectionTest::setintr0
    SetIntersectionTest::setintr1
    SetIntersectionTest::setintr2
    SetUnionTest::setunon0
    SetUnionTest::setunon1
    SetUnionTest::setunon2
    SlistTest::slist1
    SlistTest::erase
    SlistTest::insert
    SlistTest::splice
    SlistTest::allocator_with_state
    SortTest::sort1
    SortTest::sort2
    SortTest::sort3
    SortTest::sort4
    SortTest::stblsrt1
    SortTest::stblsrt2
    SstreamTest::output
    SstreamTest::input
    SstreamTest::input_char
    SstreamTest::io
    SstreamTest::err
    SstreamTest::err_long
    SstreamTest::maxint
    SstreamTest::init_in
    SstreamTest::init_out
    SstreamTest::buf
    SstreamTest::rdbuf
    SstreamTest::streambuf_output
    SstreamTest::seek
    StackTest::stack1
    StackTest::stack2
    StringTest::constructor
    StringTest::reserve
    StringTest::assign
    StringTest::erase
    StringTest::data
    StringTest::c_str
    StringTest::null_char
    StringTest::insert
    StringTest::replace
    StringTest::resize
    StringTest::short_string
    StringTest::find
    StringTest::copy
    StringTest::mt
    StringTest::short_string_optim_bug
    StringTest::compare
    StringTest::template_expression
    StringTest::te_tmp
    StringTest::template_wexpression
    StringTest::io
    StringTest::allocator_with_state
    StringTest::capacity
    SwapTest::swap1
    SwapTest::swprnge1
    TimesTest::times
    TransformTest::trnsfrm1
    TransformTest::trnsfrm2
    TransformTest::self_str
    TypeTraitsTest::manips
    TypeTraitsTest::integer
    TypeTraitsTest::rational
    TypeTraitsTest::pointer_type
    TypeTraitsTest::reference_type
    TypeTraitsTest::both_pointer_type
    TypeTraitsTest::ok_to_use_memcpy
    TypeTraitsTest::ok_to_use_memmove
    TypeTraitsTest::trivial_destructor
    TypeTraitsTest::is_POD
    TypeTraitsTest::stlport_class
    UnaryTest::ucompos1
    UnaryTest::ucompos2
    UnaryTest::unegate1
    UnaryTest::unegate2
    UnaryTest::unegate3
    UninitializedTest::copy_test
    UniqueTest::uniqcpy1
    UniqueTest::uniqcpy2
    UniqueTest::unique1
    UniqueTest::unique2
    UnorderedTest::uset
    UnorderedTest::umultiset
    UnorderedTest::umap
    UnorderedTest::umultimap
    UnorderedTest::user_case
    UnorderedTest::hash_policy
    UnorderedTest::buckets
    UnorderedTest::equal_range
    UnorderedTest::template_methods
    ValarrayTest::transcendentals
    VectorTest::vec_test_1
    VectorTest::vec_test_2
    VectorTest::vec_test_3
    VectorTest::vec_test_4
    VectorTest::vec_test_5
    VectorTest::vec_test_6
    VectorTest::vec_test_7
    VectorTest::capacity
    VectorTest::at
    VectorTest::pointer
    VectorTest::auto_ref
    VectorTest::allocator_with_state
    VectorTest::optimizations_check
    ErrnoTest::check
    
    There were errors! 1 of 376 tests
    
    
    C:\Development\STLport-5.1.0\bin-stlg>
    I can't tell what to do in response to these. Hmm.

  7. #7
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    >>then I made my makefile like<<

    The stlport lib and include directories should be first in their respective search paths.

    The mulithreading flag is -mthreads.

    Don't forget to #define (-D switch) _STLP_USE_DYNAMIC_LIB if you want your apps to use stlport dynamically (preferred).

    When I built stlport, the lib included a version number in its name(eg. libstlport.5.0.dll.a; so: -lstlport.5.0.dll); make sure that your linker command explicitly refers to the correct name of the stlport library you have built.

    I'm pretty sure that stlport apps require mingw10.dll in the executable's path, too; although that may only be true for programs that dynamically link with stlport. It may be required with statically linked apps, too, but I'm not too sure about that.

    I vaguely recall getting a couple of linker errors on one or two of the stlport tests but I think it had something to do with the type of library built and, therefore, the flags/defines used when building and executing those tests.

    While not relevant to use of stlport, -mwindows or the synonomous -Wl, subsystem,windows takes care of naming standard windows libs so you don't have to explicitly link with them.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  8. #8
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Thank you. It seems to work now. It gives me these little notifications:

    Code:
    Info: resolving stlp_std::ctype<wchar_t>::idby linking to __imp___ZN8stlp_std5ctypeIwE2idE (auto-imp
    ort)
    Info: resolving stlp_std::numpunct<wchar_t>::idby linking to __imp___ZN8stlp_std8numpunctIwE2idE (au
    to-import)
    But seems to work.

  9. #9
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    I'm pretty sure #defining _STLP_USE_DYNAMIC_LIB ie. dynamically linking with stlport will get rid of those.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  10. #10
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Yeah, I actually had _STLP_USE_STATIC_LIB defined because something in the install mentioned it. Undefining that / defining _STLP_USE_DYNAMIC_LIB made it go away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. standrad library
    By sarahr202 in forum C++ Programming
    Replies: 11
    Last Post: 05-18-2009, 08:50 PM
  2. Program without standard library?
    By Sly in forum C Programming
    Replies: 23
    Last Post: 11-29-2008, 06:47 PM
  3. The standard C Library API
    By boyfarrell in forum C Programming
    Replies: 4
    Last Post: 10-11-2008, 02:05 PM
  4. Standard Template Library
    By matth in forum C++ Programming
    Replies: 1
    Last Post: 09-09-2005, 07:26 AM
  5. im extreamly new help
    By rigo305 in forum C++ Programming
    Replies: 27
    Last Post: 04-23-2004, 11:22 PM