Re: R: R: R: Error only on G++ Debian

Seth <[email protected]> Mon, 22 Jan 2018 23:46:45 +0100
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 22-01-18 18:20, Claudio La Rosa wrote:
> I reduced my program to a minimum. I report it here:

More minimal http://coliru.stacked-crooked.com/a/7b330dbe834ccb21 (<20
lines)

Even more minimum:

        #include <boost/spirit/include/qi.hpp>
        bool parseFirstStep(std::string /*const&*/ line) {
            boost::spirit::qi::rule<std::string::const_iterator> start;
            return parse(line.begin(), line.end(), start);
        }
        int main(){}

The comment is the fix.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general