J
Jean-Baptiste
Hi,
I am currently porting a C++ project (linux version) under windows.
This project uses the STL stuff. When I try to compile and built my
project, I get a lot of errors.
The main part of them seems to be due to the stl library. Indeed, it
seems that the standard libary redefines some structure already
defined in xutility.
I tryed some tricks without any success.
I copy paste some errors I get as an example.
....
d:\vs7\include\xutility(21) : error C2011: 'std::input_iterator_tag' :
'struct' type redefinition
d:\Documents\Visual Studio
Projects\seiscal\stl\stl_iterator_base.h(42) : see declaration of
'std::input_iterator_tag'
d:\vs7\include\xutility(25) : error 2011: 'std:
utput_iterator_tag' :
'struct' type redefinition
d:\Documents\Visual Studio
Projects\seiscal\stl\stl_iterator_base.h(43) : see declaration of
'std:
utput_iterator_tag'
.... etc
If you have an idea on how I could resolve this problem, please help
me !
Thanks a lot,
Jean-Baptiste
I am currently porting a C++ project (linux version) under windows.
This project uses the STL stuff. When I try to compile and built my
project, I get a lot of errors.
The main part of them seems to be due to the stl library. Indeed, it
seems that the standard libary redefines some structure already
defined in xutility.
I tryed some tricks without any success.
I copy paste some errors I get as an example.
....
d:\vs7\include\xutility(21) : error C2011: 'std::input_iterator_tag' :
'struct' type redefinition
d:\Documents\Visual Studio
Projects\seiscal\stl\stl_iterator_base.h(42) : see declaration of
'std::input_iterator_tag'
d:\vs7\include\xutility(25) : error 2011: 'std:
'struct' type redefinition
d:\Documents\Visual Studio
Projects\seiscal\stl\stl_iterator_base.h(43) : see declaration of
'std:
.... etc
If you have an idea on how I could resolve this problem, please help
me !
Thanks a lot,
Jean-Baptiste