Opened 11 years ago
Closed 5 years ago
#6046 closed Bugs (fixed)
Using space in karma rule causes compile error
Reported by: | Sergiu Dotenco | Owned by: | Joel de Guzman |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Compiling the following rule using Intel Compiler 12.1.0.233
using namespace boost::spirit; karma::rule<std::string::iterator, std::string()> r = ascii::space;
fails with the error message
boost/spirit/home/karma/char/char_class.hpp(141): error: class "boost::spirit::tag::space" has no member "space" return classify<char_encoding>::is(tag::space(), attr);
The attached patch fixes the problem.
Attachments (1)
Change History (4)
by , 11 years ago
Attachment: | char_class.hpp.patch added |
---|
comment:1 by , 11 years ago
comment:2 by , 5 years ago
I hope Intel have fixed the problem in their compiler, but if it is still a problem please open a PR.
comment:3 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
As an additional note, the error is issued only by the windows version of Intel compiler.