473,406 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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>
':
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 !
Jan 4 '07 #1
1 1625
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:
>
I am using mingw and msys, there is a complier error:
Jan 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: krigare | last post by:
Here is what I get: gcc -L/usr/local/lib -o miniperl \ miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lc ld: fatal: file miniperlmain.o: wrong ELF class: ELFCLASS64 ld: fatal: File...
3
by: pmclinn | last post by:
I read this: http://www.devx.com/amd/Article/21313 And I wanted to try it out on my system. I'm running on windows xp64 and vs 2003. I want to complie some of my appz in 64 bit editions. ...
10
by: pmclinn | last post by:
Let's say I have the code below, and I want to complie this on a machine that does not have VS2003 installed on it, but does have the ..net framework... Is it possible to complie this code below,...
1
by: Maxwell | last post by:
Hello, I having having oodles of trouble using the std lib in my MC++ (VS.NET 2003) Class library. I figured out a simple sample to reproduce the errors I am having. Create a MC++ (VS.NET 2003)...
4
by: Benny Ng | last post by:
Dear All, Now my application is going to migrated into .NET v2. And it's already converted into v2 by Visual Studio 20005. (the auto convert tools) But when I goto compiled the application....
11
by: Roger Vale | last post by:
Hi all Visual studio 2005 Visual Basic windows mobile application I am getting this from the imediate window A first chance exception of type 'System.InvalidCastException' occurred in...
1
by: navin123 | last post by:
When i try to run a jsp file tomcat throws an error sating cannot comple the jsp file com.jpaser........ error at line -1
8
by: prettypirhana | last post by:
I keep getting one error when I try to compile this program. public class Employee { private String name; private double salary; private double hours;
13
by: jcato77 | last post by:
I am having trouble figuring out my code and was hoping someone could point me in the right direction. Below is my code what I need to due is create a method to add and display the value of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.