Boost logo

Boost Users :

From: Simon Buchan (simon_at_[hidden])
Date: 2005-09-29 17:08:05


Alan Huang wrote:
> hi,
>
> here is the code fragment in my win32 project:
>
> namespace gtl
> {
> typedef unsigned int dword;
> };
> void myFun( const char * _szText ){}
> int i = 10;
> myFun( boost::str( boost::format( " Page %2d" ) %i ).c_str() );
>
> but there is so many more warinings as below:
>
> LobbyRoomListWnd.cpp
> d:\working\alan_gamma\publiclibrary\boost\boost\format\alt_sstream_impl.hpp(100)
> : warning C4244: '+=' : conversion from '__w64 int' to
>
<snip>

Have you tried it without "Detect 64-bit Portablitity issues" checked,
in your projects "C/C++ => General" settings? It doesn't seem to
actually do anything except give huge amounts of spurious warnings.


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