a complie error ?

Discussion in 'C++' started by William, Jan 4, 2007.

  1. William

    William Guest

    I am using mingw and msys, there is a complier error:

    c:/cpp/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:
    In instantiation of `std::basic_ios<wchar_t, std::char_traits<wchar_t> >':
    c:/cpp/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream:59:
    instantiated from `std::basic_ostream<wchar_t, std::char_traits<wchar_t> >'
    c:/cpp/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:420:
    instantiated from `std::basic_ostringstream<wchar_t,
    std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    c:/cpp/lib-gcc/include/log4cpp/CategoryStream.hh:123: instantiated from
    here
    c:/cpp/MinGW/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:/cpp/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream:
    In instantiation of `std::basic_ostream<wchar_t, std::char_traits<wchar_t>
    > ':

    c:/cpp/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstream:420:
    instantiated from `std::basic_ostringstream<wchar_t,
    std::char_traits<wchar_t>, std::allocator<wchar_t> >'
    c:/cpp/lib-gcc/include/log4cpp/CategoryStream.hh:123: instantiated from
    here
    c:/cpp/MinGW/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:/cpp/MinGW/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<wchar_t,
    std::char_traits<wchar_t> >'
    c:/cpp/MinGW/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>'

    ........

    but when I use mingw attached by CodeBlocks, it is OK.

    gcc and STL of mingw is 3.4.2, that of ClodeBlocks is 3.4.3
    Is there any difference between them ?

    thanks in advance !
     
    William, Jan 4, 2007
    #1
    1. Advertising

  2. William

    William Guest

    I copied STL 3.4.4 to mingw, and it's OK now,
    it seems a STL incompliant.

    On Thu, 04 Jan 2007 10:15:35 +0800, William <> wrote:

    >
    > I am using mingw and msys, there is a complier error:
     
    William, Jan 4, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. krigare
    Replies:
    0
    Views:
    850
    krigare
    Dec 27, 2003
  2. =?Utf-8?B?Sm9obiBCYW5raGVhZA==?=

    Failed Complie due to locked DLL

    =?Utf-8?B?Sm9obiBCYW5raGVhZA==?=, Dec 30, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    1,987
    =?Utf-8?B?Q2hpbm1heQ==?=
    Jan 4, 2005
  3. SAI

    complie cs file

    SAI, Jul 10, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    532
    =?Utf-8?B?Q2Ft?=
    Jul 10, 2005
  4. Yet another C# coder

    Complie ASP.NET 2.0 to Single DLL

    Yet another C# coder, Oct 12, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    528
    Juan T. Llibre
    Oct 12, 2005
  5. Benny Ng
    Replies:
    4
    Views:
    1,363
    Otis Mukinfus
    Feb 4, 2006
Loading...

Share This Page