$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [spirit] VC10 ICE when defining a Karma/Qi rule in a 0x	lambda
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-04-28 21:10:57
> On 28/04/10 14:21, Hartmut Kaiser wrote:
> >> //---8<---
> >> #include <boost/spirit/include/karma.hpp>
> >>
> >> int main() {
> >>   []() {
> >>     boost::spirit::karma::rule<char*> r;
> >>   };
> >> }
> >> //---8<---
> >
> > The code you gave compiles just fine using g++ with --std=c++0x (I
> > tried V4.3.4).
> 
> Really?  I didn't think g++ supported lambdas until 4.5.  The above code
> doesn't compile here on 4.4.3.
> 
> http://gcc.gnu.org/gcc-4.3/cxx0x_status.html
> http://gcc.gnu.org/gcc-4.4/cxx0x_status.html
> http://gcc.gnu.org/gcc-4.5/cxx0x_status.html
Sorry, got the wrong version number down. I tested with V4.5.
Regards Hartmut
---------------
Meet me at BoostCon
www.boostcon.com