Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-08-07 05:28:48


Hi all,

I've tried to use the variant library to implement some new
functionality inside the Boost.Spirit library. I must say, I'm
impressed. Very well done!

I've stumbled over a problem though: gcc (Cygwin: gcc (GCC) 3.2 20020927
(prerelease)) reports:

In file included from D:/cvs/boost/boost/variant/variant.hpp:25,
                 from D:/cvs/boost/boost/variant.hpp:22,
                 from
D:/cvs/spirit/boost/spirit/core/non_terminal/impl/grammar.ipp:29,
                 from
D:/cvs/spirit/boost/spirit/core/non_terminal/grammar.hpp:23,
                 from D:/cvs/spirit/boost/spirit/core.hpp:49,
                 from grammar_tests.cpp:18:
D:/cvs/boost/boost/variant/detail/forced_return.hpp:57: default argument

   specified in explicit specialization

Is it my fault? Other compilers (VC7.1) work well.

Regards Hartmut


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