Boost logo

Boost Users :

Subject: [Boost-users] [spirit] warnings after upgrade to 1.47
From: Diederick C. Niehorster (dcnieho_at_[hidden])
Date: 2011-07-19 08:21:58


Dear all,

After upgrading to boost 1.47, I got the attached enormous warning,
ironically saying that names are too long, for a very simple use of
boost.spirit. Code:

#include <string>
#include <vector>
using namespace std;
#include <boost/spirit/include/karma.hpp>
namespace bsk = boost::spirit::karma;
namespace bsa = boost::spirit::ascii;

        vector<string> vUnrecog;
        //...
        bsk::generate(ostream_iterator<char>(cout),
            "Init file options not recognized:\n" <<
            (" \"" << bsa::string << '"' << bsk::eol) % "",
            vUnrecog);

Is there something I am doing suboptimally or in an old way? (The code
has been around for about 2 years now).

Thanks and best,
Dee




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net