Boost logo

Boost :

Subject: [boost] [msvc] disable 64-bit warning
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2008-09-12 02:32:53


Hi !

When compiling Boost with address-model=64, some libraries issue msvc-warning
BOOST_ROOT\boost/config/abi_prefix.hpp(19) : warning
C4103: 'BOOST_ROOT\boost\config\abi_prefix.hpp' : alignment changed after
including header, may be due to missing #pragma pack(pop)

See msvc_9_4103.txt for a full dump using
bjam -a -q address-mode=64 -WX

Those libraries are:
- system
- filesystem
- serialization
- wave

Please find the necessary patches attached.
Additionaly, I've added _SCL_SECURE_NO_WARNINGS to
serialization and changed wave to always set _SCL_SECURE_NO_DEPRECATE and
_CRT_SECURE_NO_DEPRECATE regardless of the compiler version. This should
silence those warning for the msvc incarnation, too.

Okay to commit ?
Comments ?

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !











Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk