[C++-sig] Two patches for g++-3.2

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Mon Aug 4 15:16:39 CEST 2003


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 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_if.hpp
Type: text/x-c++hdr
Size: 383 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030804/3d73078c/attachment.hpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_cast.hpp
Type: text/x-c++hdr
Size: 340 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030804/3d73078c/attachment-0001.hpp>


More information about the Cplusplus-sig mailing list