[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

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@yahoo.com> To: <boost@lists.boost.org> 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

Boris Gubenko wrote:
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?
Regardless, it's not directly a date-time issue, so I've added range to the title to hopefully catch Thorsten's attention. Jeff

--- Boris Gubenko <Boris.Gubenko@hp.com> wrote:
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?
Yes, exactly. Sorry I forgot to mention this. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

date_time probably use string_algo which is broken in the HEAD due to changes in the range library.
participants (5)
-
Boris Gubenko
-
Jeff Garland
-
Martin
-
Ralf W. Grosse-Kunstleve
-
Thorsten Ottosen