Hi,
 
I get a few errors when I try to compile Xerces-C++ version 2.3.0.
Everything compiles just fine when I use Visual Studio 6
with the standard STL provided by Microsoft. But when I switch
to STLPort's STL, I get a bunch of errors. I tried to compile Xerces-C++
version 2.2.0 but the same errors are generated.
 
I'm pretty sure the cause of my problem is a missing or an extra
#define in one of STLport's many configuration files. Note
that I have a fresh install of STLPort. I only added the following two defines
to stl_user_config.h after my fresh install
 
#define _STLP_USE_MFC 1
#define   _STLP_DEBUG 1
 
So anyone has an idea to resolve the problem?. Here are a few errors I get. 
Thanks :)
 
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_alloc.h(150) : error C2838: illegal qualified name in member declaration
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_alloc.h(184) : see reference to class template instantiation '_STL::__debug_alloc<_Alloc>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_alloc.h(150) : error C2501: 'value_type' : missing storage-class or type specifiers
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_alloc.h(184) : see reference to class template instantiation '_STL::__debug_alloc<_Alloc>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_alloc.h(257) : error C2059: syntax error : 'extern'
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator.h(189) : error C2143: syntax error : missing ',' before '&'
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator.h(196) : see reference to class template instantiation '_STL::back_insert_iterator<_Container>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator.h(189) : error C2059: syntax error : '&'
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator.h(196) : see reference to class template instantiation '_STL::back_insert_iterator<_Container>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator.h(189) : error C2805: binary 'operator =' has too few parameters
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator.h(196) : see reference to class template instantiation '_STL::back_insert_iterator<_Container>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator.h(189) : error C2333: '=' : error in function declaration; skipping function body
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(92) : error C2146: syntax error : missing ';' before identifier 'iterator_category'
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(97) : see reference to class template instantiation '_STL::iterator_traits<_Iterator>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(92) : error C2838: illegal qualified name in member declaration
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(97) : see reference to class template instantiation '_STL::iterator_traits<_Iterator>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(92) : error C2501: 'iterator_category' : missing storage-class or type specifiers
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(97) : see reference to class template instantiation '_STL::iterator_traits<_Iterator>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(93) : error C2146: syntax error : missing ';' before identifier 'value_type'
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(97) : see reference to class template instantiation '_STL::iterator_traits<_Iterator>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(93) : error C2838: illegal qualified name in member declaration
        D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(97) : see reference to class template instantiation '_STL::iterator_traits<_Iterator>' being compiled
D:\STLPORT\STLPORT-4.5.3\STLPORT\stl/_iterator_base.h(93) : error C2501: 'value_type' : missing storage-class or type specifiers
 

Marc-O Simard

SolVision

[EMAIL PROTECTED]

Reply via email to