Help! A C++ compiling error!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We are using gcc 2.96 which is supplied by windriver with Tornado 2.2. The information is :
C:/Tornado/host/x86-win32/include/g++-3/stl_iterator.h: In function `void distance (_InputIterator, 
_InputIterator, _Distance &) [with _InputIterator = _Rb_tree_iterator<pair<const string, short unsigned 
int>, pair<const string, short unsigned int> &, pair<const string, short unsigned int> *>, _Distance = 
size_t]': 
C:/Tornado/host/x86-win32/include/g++-3/stl_iterator.h:278: instantiated from `_Rb_tree_base<pair<const string, short unsigned int>, allocator<short unsigned int> >' 
C:/Tornado/host/x86-win32/include/g++-3/stl_map.h:76: instantiated from `_Rb_tree<string, pair<const string, short unsigned int>, _Select1st<pair<const string, short unsigned int> >, less<string>, allocator<short unsigned int> >' 
C:/Tornado/host/x86-win32/include/g++-3/stl_map.h:76: instantiated from `map<string, short unsigned int, less<string>, allocator<short unsigned int> >' 
../../../src/momu/src/mml/mml_cmdpara.h:247: instantiated from here 
C:/Tornado/host/x86-win32/include/g++-3/stl_iterator.h:278: Internal compiler error in `expand_call', 
at calls.c:3146 

make: *** [obj/mml_cmdpara.obj] Error 0x1 


mml_cmdpara.h:
typedef map<string, VOS_UINT16, less<string> > T_MML_PARA_POS; 
...... 
class T_MML_CMDPARA 
{ 
             ...... 
Line 247: T_MML_PARA_POS m_ParaPos; 
} 

The code can be compiled correctly in gcc 2.76 which is supplied by Tornado 2.0. I am confused. Please help me! Thanks a lot!

name:   jiayu 
email:   jiayu@xxxxxxxxxx

**************************************************************
This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
**************************************************************
begin:vcard
n:Jia;Yu
fn:贾宇
version:2.1
email;internet:jiayu@xxxxxxxxxx
end:vcard


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux