Boost logo

Boost :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2006-08-17 21:52:03


Ralf,

I compiled your program on the following platforms without
any errors:

  HP-UX aCC A.06.12 EDG 3.06
  Linux Intel ICC 9.0 EDG 3.04
  Tru64 cxx V6.5-042 EDG 2.45
  Tru64 cxx X7.3-013 EDG 3.04 (development compiler)

I was using RC_1_34. What version of boost did you use? CVS HEAD?

Boris Gubenko

----- Original Message -----
From: "Ralf W. Grosse-Kunstleve" <rwgk_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, August 17, 2006 12:40 PM
Subject: [boost] [date_time] EDG compilation problems

The following two lines don't compile with the EDG 304 based Tru64 cxx
compiler:

#include <time.h>
#include "boost/date_time/gregorian/gregorian.hpp"

The full error message is attached.

It looks like this struct is instantiated with C = char:

namespace boost
{
    template< typename C >
    struct range_const_iterator
    {
        typedef typename C::const_iterator type;
    };
}

I tried adding a full specialization for range_const_iterator<char> but this
didn't help.

Older EDG's seem to have the same problem. Does someone have experience
compiling the date_time library with an EDG-based compiler? I'd be grateful
for
suggestions.

Thanks!

Ralf

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--------------------------------------------------------------------------------

> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


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