[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] boost cross compilation
From: Vladimir Prus <ghost () cs ! msu ! su>
Date: 2009-12-17 7:14:06
Message-ID: 200912171014.06442.ghost () cs ! msu ! su
[Download RAW message or body]
On Thursday 17 December 2009 05:56:08 Souvik Ghosh wrote:
> Hello All,
>
> I would like to cross compile boost for ARM. But I am getting the following
> error. In my toolchain I am using gcc version 4.1.1. Can anybody please
> point me the cause behind this error.
>
> boost/boost/regex/v4/basic_regex.hpp:95:35: error: macro "index" requires 2
> arguments, but only 1 given
> boost/boost/regex/v4/basic_regex.hpp:100:21: error: macro "index" requires 2
> arguments, but only 1 given
> In file included from boost/boost/regex/v4/perl_matcher.hpp:574,
>
> Thanks in advance.
Does putting
#undef index
at the top of that header file improve things? It looks like something in your
compiler defines macro named 'index', and it's naturally breaking things.
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic