2011/04/21

Boost.Spirit Comple Error Memo Using VC7.1

The following fatal errors occurs in Boost.Spirit.Qi using VC7.1.
The same source code can be compiled using VC10.

boost_1_46_1/boost/spirit/home/qi/meta_compiler.hpp(77) : fatal error C1001: internal compiler error
(compiler file 'msc1.cpp', line 2708)

qi/meta_compiler.hpp

    // Qi primitive meta-compiler
    template <>
    struct make_component
    {
        template 
        struct result;

        template 
        struct result
        {
            typedef typename qi::make_primitive<
                typename remove_const::type,
                typename remove_reference::type>::result_type
            type; // fatal error C1001 occurs here
        };

How to set parameters to debugging program on Visual Studio 2019 with CMake

Solution: MSDN Sometimes the "Debug and Launch Settings for CMake" bottun is disabled. In this case, change to the target view. ...