Re: [Boost-bugs] [Boost C++ Libraries] #9918: chrono compilation error on Solaris, funciton timegm

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9918: chrono compilation error on Solaris, funciton timegm
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-18 16:49:05


#9918: chrono compilation error on Solaris, funciton timegm
-------------------------------------------------+-------------------------
  Reporter: Stephen Clamage | Owner: viboes
  <stephen.clamage@…> | Status: assigned
      Type: Bugs | Component: chrono
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.55.0 | Keywords: timegm
Resolution: | gmtime
-------------------------------------------------+-------------------------

Comment (by Stephen Clamage <stephen.clamage@…>):

 All Sun compilers always define !__sun when running on Solaris (SunOS).
 Old Sun compilers also defined sun, but that practice stopped some time
 ago. Maybe old versions of gcc or some other vendor's compilers didn't
 follow the practice of defining !__sun. That I don't know. As I said
 before, unless someone knows of a specific reason for checking for sun, I
 suggest checking only for !__sun.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9918#comment:4>
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:16 UTC