On 8/27/05, Jeff Garland
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