Hi, I'm using the common C++ library in a ssmall project.
I'm using linux (kernel 2.2.14) + egcs (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)).
I started using the smart pointers classes and had no problems.
Now I'm trying to use the operators templates and the casts library, but as soon as I include boost/operators.hpp or boost/cast.hpp in my sources, egcs gives me internal errors.
I just wanted to know if this is a common problem (e.g.: you must use version x.y.z of gcc instead of the ctual version) or if I'm the lucky guy who discovered a new compatibility problem.
I haven't included any source because egcs gives an internal error even if I create a single file with an empty main function and a #include <boost/cast.hpp> or #include <boost/operators.hpp>
I will try to test the same source on another machine with a different setup, if someone is interested in the results just let me know ...
Mattia
P.S.
the internal errors I receive are:
<boost/cast.hpp> compiler internal error 980711
<boost/operators.hpp> compiler internal error 382
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry guys, maybe I'm going too heavy with caffeine an too light with sleep, this message was intended for another forum (in my small project I use the Common c++ library for threads and sockets and another library called boost for handling stl associative containers, smart pointers and other stuff)
Mattia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm using the common C++ library in a ssmall project.
I'm using linux (kernel 2.2.14) + egcs (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)).
I started using the smart pointers classes and had no problems.
Now I'm trying to use the operators templates and the casts library, but as soon as I include boost/operators.hpp or boost/cast.hpp in my sources, egcs gives me internal errors.
I just wanted to know if this is a common problem (e.g.: you must use version x.y.z of gcc instead of the ctual version) or if I'm the lucky guy who discovered a new compatibility problem.
I haven't included any source because egcs gives an internal error even if I create a single file with an empty main function and a #include <boost/cast.hpp> or #include <boost/operators.hpp>
I will try to test the same source on another machine with a different setup, if someone is interested in the results just let me know ...
Mattia
P.S.
the internal errors I receive are:
<boost/cast.hpp> compiler internal error 980711
<boost/operators.hpp> compiler internal error 382
Sorry guys, maybe I'm going too heavy with caffeine an too light with sleep, this message was intended for another forum (in my small project I use the Common c++ library for threads and sockets and another library called boost for handling stl associative containers, smart pointers and other stuff)
Mattia