[Boost-bugs] [Boost C++ Libraries] #4160: Karma/qi rules in a 0x lambda crashes VC10 with internal compiler error

Subject: [Boost-bugs] [Boost C++ Libraries] #4160: Karma/qi rules in a 0x lambda crashes VC10 with internal compiler error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-28 12:23:45


#4160: Karma/qi rules in a 0x lambda crashes VC10 with internal compiler error
-----------------------------------------+----------------------------------
 Reporter: Lars Viklund <zao@…> | Owner: djowel
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: spirit
  Version: Boost Development Trunk | Severity: Problem
 Keywords: vc10 ice spirit rule lambda |
-----------------------------------------+----------------------------------
 Defining a Karma or Qi rule in a C++0x lambda in VC10 RTM crashes the
 compiler with an internal compiler error.

 I have reproduced this with trunk (r61638) and 1.42.0.

 Complete test case and build output follows:
 {{{
 #include <boost/spirit/include/karma.hpp>

 int main()
 {
         []()
         {
                 boost::spirit::karma::rule<char*> r;
         };
 }
 }}}
 {{{
 1>------ Build started: Project: Testbed10, Configuration: Release X64
 ------
 1> main.cc
 1> using native typeof
 1>main.cc(8): fatal error C1001: An internal error has occurred in the
 compiler.
 1> (compiler file 'msc1.cpp', line 1420)
 1> To work around this problem, try simplifying or changing the program
 near the locations listed above.
 1> Please choose the Technical Support command on the Visual C++
 1> Help menu, or open the Technical Support help file for more
 information
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
 ==========
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4160>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC