Boost logo

Boost Users :

Subject: Re: [Boost-users] trouble getting older version of boost to build
From: David Toth (dtoth) (dtoth_at_[hidden])
Date: 2014-06-02 21:42:03


Thanks! I had read that I needed to change UTC to UTC_ but I didn't realize it was in more than one file.

There were 2 occurrences in (boost_directory)/boost/thread/xtime.hpp

which I knew about and 8 occurrences in (boost_directory)/libs/thread/src/pthread/timeconv.inl

that I had no idea were there. It works now. Thanks again!

Dave

________________________________________
From: Boost-users [boost-users-bounces_at_[hidden]] On Behalf Of Jürgen Hunold [jhunold_at_gmx.eu]
Sent: Monday, June 02, 2014 10:00 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] trouble getting older version of boost to build

Hi David,

Am Montag, 2. Juni 2014, 08:56:02 schrieb David Toth:
> H Slava. Thanks for the suggestion. I had the bjam program just build the
> threading library and have put the output of running the command bjam
> inline below.

Well, that is the information needed.

> To be honest, I don't even know where to begin to debug
> this. I did surf the web looking for ideas, but didn't find any. Again,
> any thoughts would be greatly appreciated. Thanks!

Please take a look at https://svn.boost.org/trac/boost/ticket/6940

> ---- beginning of bjam output ----
>
>> libs/thread/src/pthread/timeconv.inl:20: error: expected unqualified-id
> before numeric constant libs/thread/src/pthread/timeconv.inl: In function
> ‘void<unnamed>::to_timespec_duration(const boost::xtime&, timespec&)’:

There should be boost::TIME_UTC at that line in your Boost.Version.

Renaming TIME_UTC to TIME_UTC_ globally should do the trick.

Yours,

Jürgen

--
* Dipl.-Math. Jürgen Hunold  !
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! Germany
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

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