Opened 11 years ago

Closed 6 years ago

#6492 closed Bugs (fixed)

os_file_functions.hpp:448: comparison always false limited range data type

Reported by: grarpamp@… Owned by: Ion Gaztañaga
Milestone: Boost 1.50.0 Component: interprocess
Version: Boost 1.49.0 Severity: Problem
Keywords: truncate_file filehandle datatype Cc: grarpamp@…

Description

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

Change History (3)

comment:1 by anonymous, 11 years ago

Component: NoneBuilding Boost
Milestone: Boost 1.49.0Boost 1.50.0
Version: Boost 1.48.0Boost 1.49.0

comment:2 by viboes, 10 years ago

Component: Building Boostinterprocess
Owner: set to Ion Gaztañaga

comment:3 by Ion Gaztañaga, 6 years ago

Resolution: fixed
Status: newclosed

This warning no longer appears in the current (1.61) version.

Note: See TracTickets for help on using tickets.