Hi, the latest CVS version of boost did not compile with g++-3.2. There were an error in the MPL with the forward definition of the quote3 template class. I found a patch that works fine with g++-3.2 and should work with other compiler. Another problem was in cast.hpp in which g++ complained about a too big integer to be signed. I modified the line according to what's written in /usr/include/stdint.h on my linux distribution. And now there is no more error, and it still should be compatible with every compiler. I hope I didn't make any mistake ... -- Pierre Barbier de Reuille INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP Botanique et Bio-informatique de l'Architecture des Plantes TA40/PSII, Boulevard de la Lironde 34398 MONTPELLIER CEDEX 5, France tel : (33) 4 67 61 65 77 fax : (33) 4 67 61 56 68
Pierre Barbier de Reuille <pierre.barbier@cirad.fr> writes:
Hi,
the latest CVS version of boost did not compile with g++-3.2. There were an error in the MPL with the forward definition of the quote3 template class. I found a patch that works fine with g++-3.2 and should work with other compiler.
Another problem was in cast.hpp in which g++ complained about a too big integer to be signed. I modified the line according to what's written in /usr/include/stdint.h on my linux distribution. And now there is no more error, and it still should be compatible with every compiler.
I hope I didn't make any mistake ...
The first fix doesn't work; I checked in something better. Thanks for the second; that warning's been bothering me! -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams -
Pierre Barbier de Reuille