[Boost-bugs] [Boost C++ Libraries] #6492: os_file_functions.hpp:448: comparison always false limited range data type

Subject: [Boost-bugs] [Boost C++ Libraries] #6492: os_file_functions.hpp:448: comparison always false limited range data type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-30 01:18:04


#6492: os_file_functions.hpp:448: comparison always false limited range data type
--------------------------------+-------------------------------------------
 Reporter: grarpamp@… | Type: Bugs
   Status: new | Milestone: Boost 1.49.0
Component: None | Version: Boost 1.48.0
 Severity: Problem | Keywords: truncate_file filehandle datatype
--------------------------------+-------------------------------------------
 Compiling an app on FreeBSD RELENG_8 i386 against
 boost 1.48.0 results in this. Thanks :)

 truncate_file filehandle datatype

 In file included from
 /.../boost148/include/boost/interprocess/sync/file_lock.hpp:21,
 /.../boost148/include/boost/interprocess/detail/os_file_functions.hpp: In
 function 'bool
 boost::interprocess::ipcdetail::truncate_file(boost::interprocess::file_handle_t,
 size_t)':
 /.../boost148/include/boost/interprocess/detail/os_file_functions.hpp:448:
 warning: comparison is always false due to limited range of data type

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6492>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC