Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-01-18 20:50:03


On Tue, 18 Jan 2005 17:19:56 -0700, Bart wrote
 
> > i've also tried to compile some other examples - they work, like the
> > rest of my program; maybe there is something wrong with my installation
> > - but i don't know what. it is also really strange that mingw accepts
> > partial_date [in my app] which is derived from year_based_generator but
> > refuses to work with year_based_generator*.
> >
> > antonio
>
> I'm stumped.
>
> I tried upgrading to gcc/g++ 3.4 (I extracted these into my original
> mingw installation) and am unable to duplicate your errors.
>
> If you can spare the time, try downloading a fresh boost_1_32_0 archive
> and attempting a print_holidays compile with that source tree. I'm
> wondering if your source tree may have been corrupted somehow.

That would be my guess at this point too. The fact that the example fails
means something is really off. I just compiled 1_32 with mingw dev-cpp with
compiler version 3.3.1. The regression tests also succeed for your
combination. More than likely it would have to be something messed up in
boost/date_time/date_generators.hpp -- so you could try just getting the
latest version of that file and replacing it.

Jeff


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net