[C++-sig] Using py++ GCCXML error (type definition ?)

Coockie_jr achille.talon at gmail.com
Thu Jun 28 10:10:04 CEST 2007


Hmmm
I got another question regarding header files during the gccxml parsing.


I have managed to make most of my files work (even with my own types ;) )
but I' having problems with vectors and probably other "functions".

When I include <vector> I get the following errors


Error occured while running GCC-XML: In file included from
C:/Prog/GCC_XML/Support/Vc8/Include/iterator:6,
                 from C:/Program Files/Microsoft Visual Studio
8/VC/include/memory:6,
                 from C:/Prog/GCC_XML/Support/Vc8/Include/vector:6,
                 from
C:/Prog/Py++-0.9.0/build/scripts-2.5/include/project.h:1:
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:911: error: syntax
   error before `,' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:957: error: syntax
   error before `,' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:958: error: `
   _Base_helper2' is not a class or namespace
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:958: error: `
   _Checked_iterator_base_type' is not a class or namespace
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:958: error: `
   _Base_helper2' fails to be a typedef or built in type
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:958: error: ISO
   C++ forbids declaration of `type name' with no type
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In member 
   function `std::reverse_iterator<typename 
   std::_Checked_iterator_base_helper<_Iter>::_Checked_iterator_base_type> 
   std::reverse_iterator<_RanIt>::_Checked_iterator_base() const':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:1746: error: syntax
   error before `;' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In 
   function `_OutElem* std::copy(_InIt, _InIt, _OutElem (&)[_Size])':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:2364: error: syntax
   error before `::' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In 
   function `_OutElem* std::_Move(_InIt, _InIt, _OutElem (&)[_Size])':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:2438: error: syntax
   error before `::' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In 
   function `std::pair<_InIt1, _InElem2*> std::mismatch(_InIt1, _InIt1, 
   _InElem2 (&)[_Size])':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:2662: error: syntax
   error before `::' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In 
   function `std::pair<_InIt1, _InElem2*> std::mismatch(_InIt1, _InIt1, 
   _InElem2 (&)[_Size], _Pr)':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:2749: error: syntax
   error before `::' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In 
   function `bool std::equal(_InIt1, _InIt1, _InElem2 (&)[_Size])':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:2857: error: syntax
   error before `::' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In 
   function `bool std::equal(_InIt1, _InIt1, _InElem2 (&)[_Size], _Pr)':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:2919: error: syntax
   error before `::' token
C:/Prog/GCC_XML/Support/Vc8/Include/xutility: In 
   function `void std::fill_n(_OutElem (&)[_Size], _Diff, const _Ty&)':
C:/Prog/GCC_XML/Support/Vc8/Include/xutility:3065: error: syntax
   error before `::' token


I've got the latest GCCXML and I don't think the solution would be top
change those headers ...
Is there a way to tell GCCXML not to look in some headers or something alike
?

Thank you
-- 
View this message in context: http://www.nabble.com/-C%2B%2B-sig--Using-py%2B%2B-GCCXML-error-%28type-definition--%29-tf3988097.html#a11338838
Sent from the Python - c++-sig mailing list archive at Nabble.com.




More information about the Cplusplus-sig mailing list