Help! A C++ compiling error!

jiayu 33576 jiayu@huawei.com
Thu Aug 19 18:30:00 GMT 2004


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@huawei.com

**************************************************************
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!
**************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: j33576.vcf
Type: text/x-vcard
Size: 84 bytes
Desc: Card for jiayu 33576 <jiayu@huawei.com>
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20040819/62ad1811/attachment.vcf>


More information about the Gcc-help mailing list