Re: [Boost-bugs] [Boost C++ Libraries] #5153: Behavior difference of 32-bit and 64-bit libraries

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5153: Behavior difference of 32-bit and 64-bit libraries
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-08 22:08:35


#5153: Behavior difference of 32-bit and 64-bit libraries
--------------------------------------+-------------------------------------
  Reporter: lcarreon@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by lcarreon@…):

 I have figured out the cause of the problems stated above. It is the line
 #35 of the file boost_1_45_0/libs/filesystem/v3/src/operations.cpp. This
 line contains the following:

 #define _FILE_OFFSET_BITS 64 // at worst, these defines may have no
 effect,

 If the intention of this line is to support large files (files greater
 than 2GB in size), the recommended alternative according to Solaris
 documentation is to define _LARGEFILE64_SOURCE. This compiler option
 switches file support from 32-bit to 64-bit on a 32-bit environment.

 For the moment, I simply commented out the line for my 32-bit Solaris x86
 build.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5153#comment:3>
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:05 UTC