Opened 8 years ago
Closed 5 years ago
#11115 closed Bugs (fixed)
Can't compile subrules with C++11
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | spirit subrules C++11 | Cc: |
Description
I am having trouble getting subrules to compile using a C++11 compiler. I have tried both Visual Studio 2013, and g++ 4.8.2 with the "-std=c++11". Boost version is 1.57.0.
I can't even get the example calc1_sr.cpp to compile. I have attached the output of the two compilers for this file.
g++ 4.8.2 without the "-std=c++11" option will compile. As will g++ 4.1.2 and Visual Studio 2008. However the sample does not run correctly as reported in https://svn.boost.org/trac/boost/ticket/5270
Attachments (2)
Change History (4)
by , 8 years ago
Attachment: | calc1_sr_g++482_output.txt added |
---|
by , 8 years ago
Attachment: | calc1_sr_VS2013_output.txt added |
---|
Visual Studio 2013 error for calc1_sr.cpp
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
g++ 4.8.2 error for calc1_sr.cpp