Boost logo

Boost :

From: Christopher Currie (christopher_at_[hidden])
Date: 2003-04-20 21:24:52



Attached is a quick patch to microsec_time_clock.hpp, which in CVS fails
to compile under cygwin due to a missing header file. Please let me know
if there's something that I'm doing wrong here. I found the bug trying
to build the socket library in boost-sandbox.


My test case is below, followed by the patch.





Christopher_at_picasso ~/src/test

$ cat

#include <boost/date_time/posix_time/posix_time_types.hpp>


int main () { return 0; }



Christopher_at_picasso ~/src/test

$ make datetime

g++ -I/home/currie/src/cvs/boost -o datetime

In file included from


/home/currie/src/cvs/boost/boost/date_time/microsec_time_clock.hpp: In

   member function `static time_type



   error before `;' token

make: *** [datetime] Error 1







Christopher_at_picasso ~/src/cvs/boost/boost/date_time

$ cvs diff -c microsec_time_clock.hpp

Index: microsec_time_clock.hpp


RCS file: /cvsroot/boost/boost/boost/date_time/microsec_time_clock.hpp,v

retrieving revision 1.1

diff -c -r1.1 microsec_time_clock.hpp

*** microsec_time_clock.hpp 13 Feb 2003 18:38:35 -0000 1.1

--- microsec_time_clock.hpp 21 Apr 2003 02:11:48 -0000


*** 5,10 ****

--- 5,11 ----

    This file contains the interface for clock devices



+ #include "boost/cstdint.hpp"

  #include "boost/date_time/c_time.hpp"




Boost list run by bdawes at, gregod at, cpdaniel at, john at