Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 4th, 2007, 02:25 AM
William
Guest
 
Posts: n/a
Default a complie error ?


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>
Quote:
':
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 !
  #2  
Old January 4th, 2007, 03:05 AM
William
Guest
 
Posts: n/a
Default Re: a complie error ?

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 <xx@abc.comwrote:
Quote:
>
I am using mingw and msys, there is a complier error:
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles