Boost logo

Boost :

Subject: Re: [boost] [Review] Formal Review of Proposed Boost.Chrono Library Starts TOMORROW
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-11-11 10:37:15


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Anthony Williams
> Sent: Friday, November 05, 2010 5:26 PM
> To: boost_at_[hidden]
> Subject: [boost] [Review] Formal Review of Proposed Boost.Chrono Library
> Starts TOMORROW
>
> Hi everyone,
>
> The review of Vicente Botet's Chrono library starts TOMORROW (November
> 6th) and lasts until November 15th unless an extension occurs.

I've started to play with this after starting to read the (nice) docs.

But I've come to a sudden halt on the "Hello World" :-(

Running it without has produced the (expected) warning that I haven't built
the library yet)

LINK : fatal error LNK1104: cannot open file
'libboost_chrono-vc100-mt-gd-1_45.lib'

Assuming I could just try it out as header only first, (before I begin
swearing at bjam ;-)

I've added

    #define BOOST_CHRONO_INLINED

// run_timer_example.cpp
---------------------------------------------------//

#define BOOST_CHRONO_INLINED

#include <boost/chrono/process_times.hpp>
#include <cmath>
...

But got a surprising list of errors:

C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(142):
error C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(294):
error C2008: '$' : unexpected in macro definition
C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(295):
warning C4005: '__' : macro redefinition

What am I doing wrong?

Paul

PS Windows 7, VS 2010, debug, console app

---
Paul A. Bristow,
Prizet Farmhouse, Kendal LA8 8AB  UK
+44 1539 561830  07714330204
pbristow_at_[hidden]
 

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk