Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2003-06-08 15:46:08


Synge -

I have applied a fix that is equivalent to your patch. Let me know if it works.
Sorry to be so slow on this...

Jeff

> -----Original Message-----
> [mailto:boost-bounces_at_[hidden]]On Behalf Of Synge Todo
> Sent: Thursday, May 29, 2003 10:15 PM
> Subject: [boost] patch for date_time library
>
>
> Dear Boosters,
>
> SGI MIPSpro C++ can not compile programs, which use date_time library.
> The compiler complains as follows:
>
> cc-3354 CC: ERROR File = /home/i004/i00400/src/boost/boost/date_time/time_system_split.hpp, Line = 35
> A non-integral operation is not allowed in a nontype template argument.
>
> typedef date_time::wrapping_int<int_type, INT64_C(86400) * config::tick_per_second > wrap_int_type;
>
> I attached a simple workaround to solve this problem. Could someone
> apply this patch? Thank you in advance.


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