Boost logo

Boost Users :

From: Mat Marcus (mat-lists_at_[hidden])
Date: 2005-08-27 11:56:43


On 8/27/05, Jeff Garland <jeff_at_[hidden]> wrote:
> On Fri, 26 Aug 2005 16:57:52 -0600, Jonathan Turkanis wrote
> > tonton wrote:
> > >> This simple test fails to compile with gcc 4.0.1 (or 4.0.2, it's the
> > >> debian unstable version) and boost 1.33.0 if the date_time include is
> > >> uncommented.
> >
> > >> Is there any known incompatibility between the two libraries ?
> >
> > This appears to be the GCC 4.0 + SFINAE + anonymous enum problem
> > discussed in this thread:
> > http://lists.boost.org/Archives/boost/2005/08/91958.php.
>
> This thread discusses vc7.1 -- not sure I see the connection unless you are
> saying gcc 4 has the same problem?
>[snip]

Gcc does have the problem; the title of the thread is misleading. See
later posts such as:
<http://lists.boost.org/Archives/boost/2005/08/92002.php>
and
<http://lists.boost.org/Archives/boost/2005/08/92004.php>

For now it is SFINAE cannot be safely, portably used upon anonymous
enums, though this could change, depending how we resolve core issue
488.

 - Mat


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