Boost logo

Boost Users :

Subject: Re: [Boost-users] Error while using asio and xpressive together
From: Vjekoslav Brajkovic (balkan_at_[hidden])
Date: 2008-09-16 09:45:22


On Mon, 15 Sep 2008, Rohit Sauhta wrote:

>
> 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. I am using gcc 4.1.2 compiler on linux.
> Does this need to be fixed in asio ?

I can confirm the issue (boost 1.36, g++ (GCC) 4.2.3). Furthermore, it
is also possible to reproduce the error using Boost Spirit.

Compilation error can be found in the attached file.

-vjeko



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