Opened 14 years ago

Closed 11 years ago

#1988 closed Bugs (fixed)

Boost.Config macros badly added.

Reported by: John Maddock Owned by: John Maddock
Milestone: Boost 1.36.0 Component: config
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc: anthony.ajw@…; jeff@…

Description

The two macros:

BOOST_NO_THREADEX and BOOST_NO_GETSYSTEMTIMEASFILETIME, should be named BOOST_HAS_* since they describe non-standard features, and should probably be set in win32.hpp given that these are platform rather than compiler specific?

Changes would effect DateTime and Thread libraries as well as Boost.Config.

There are also no docs or test cases for these.

Change History (7)

comment:1 by Dean Michael Berris, 12 years ago

John/Anthony,

Is this still an issue? Has this already been adressed and if not should this be broken up into smaller issues that can independently be addressed?

comment:2 by anonymous, 12 years ago

Yes it still appears to be an issue, these macros weren't added correctly to Boost.Config.

I don't see how this can be broken up into smaller issues though sorry...

John.

PS if someone takes this on, they will need to take the changes through into the release branch as well.

comment:3 by Dean Michael Berris, 12 years ago

I'll see if I can get patches out and tests run to see whether I can take this on. I'll give it some time tomorrow morning (PHT), I'll update as I run into issues or whether I have progress appropriately.

comment:4 by Marshall Clow, 11 years ago

Dean - are you still going to do this?

Here's what a quick search turns up:

trunk marshall$ grep -r BOOST_NO_THREADEX *
boost/config/compiler/visualc.hpp:#  define BOOST_NO_THREADEX
libs/thread/src/win32/thread.cpp:#ifdef BOOST_NO_THREADEX

trunk marshall$ grep -r BOOST_NO_GETSYSTEMTIMEASFILETIME *
boost/config/compiler/visualc.hpp:#  define BOOST_NO_GETSYSTEMTIMEASFILETIME
boost/date_time/filetime_functions.hpp:#elif defined(BOOST_NO_GETSYSTEMTIMEASFILETIME)

If you don't have time, I can probably take care of this.

comment:5 by Dean Michael Berris, 11 years ago

Nope, sorry about that -- please go ahead and take this one on. I shall punt this to you. :)

comment:6 by Marshall Clow, 11 years ago

(In [71533]) Renamed BOOST_NO_THREADEX -> BOOST_HAS_THREADEX and BOOST_NO_GETSYSTEMTIMEASFILETIME --> BOOST_HAS_GETSYSTEMTIMEASFILETIME - Refs #1988

comment:7 by Marshall Clow, 11 years ago

Resolution: fixed
Status: newclosed

(In [71676]) Merge fixes to release; Fixes #1988

Note: See TracTickets for help on using tickets.