Boost logo

Boost Users :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-10-24 12:05:40


 
GIE wrote:

> Is there any way to avoid this warning?
>
> =========Beginning of the citation==============
> ------ Build started: Project: [...], Configuration: Debug
> Win32 ------
>
> Compiling...
> [...].cpp
> BOOST_DIR\boost\spirit\core\primitives\impl\pri
> mitives.ipp(62) : warning C4244: 'initializing' : conversion
> from '__w64 int' to 'int', possible loss of data

This issue is fixed in the current Spirit version. It will be awailable as
Spirit V1.8.0 integrated into the Boost 1.31.0 release. If you can't wait
for this release you may:
- get the current CVS snapshot from the Spirit repository
- or disable the warning (#pragma warning (disable: 4244) or commandline:
/wd4244)
- or remove the /Wp64 switch from the commandline

HTH
Regards Hartmut


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net