Opened 14 years ago
Closed 14 years ago
#2334 closed Bugs (fixed)
Error while using asio and xpressive together
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | asio |
Version: | Boost 1.36.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I get compiler error with the following code:
#include <boost/asio.hpp> #include <boost/xpressive/xpressive.hpp> int main(int argc, char*argv[]) {}
If I flip the order of #include, code compiles fine.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The problem was caused by a macro "B0" being defined on linux, in the header file /usr/include/bits/termios.h. As of boost 1.36.0, xpressive had some template parameters named "B0". Since those template parameters no longer exist on the trunk, the problem has been fixed.
Note:
See TracTickets
for help on using tickets.
I'm unable to reproduce this error on boost trunk. Can we close it?