[C++-sig] BPL on MSVC7.1 -w3 warnings

Mike Rovner mike at nospam.com
Wed Oct 29 23:34:28 CET 2003


Dave, are you aware of warnings:

class.cpp
\boost\libs\python\src\object\class.cpp(320) : warning C4146: unary minus
operator applied to unsigned type, result still unsigned

builtin_converters.cpp
\boost\libs\python\src\converter\builtin_converters.cpp(78) : warning C4244:
'initializing' : conversion from 'double' to 'float', possible loss of data
\boost\libs\python\src\converter\builtin_converters.cpp(71) : while
compiling class-template member function 'void
boost::python::converter::`anonymous-namespace'::slot_rvalue_from_python<T,S
lotPolicy>::construct(PyObject
*,boost::python::converter::rvalue_from_python_stage1_data *)'
with
[
T=float,
SlotPolicy=boost::python::converter::`anonymous-namespace'::float_rvalue_fro
m_python
]
\boost\libs\python\src\converter\builtin_converters.cpp(397) : see reference
to class template instantiation
'boost::python::converter::`anonymous-namespace'::slot_rvalue_from_python<T,
SlotPolicy>' being compiled
with
[
T=float,
SlotPolicy=boost::python::converter::`anonymous-namespace'::float_rvalue_fro
m_python
]

\boost\python\converter\builtin_converters.hpp(114) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible loss of data
\boost\python\converter\builtin_converters.hpp(116) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible loss of data

Regards,
Mike







More information about the Cplusplus-sig mailing list