PATCH RTT v2 for boost filesystem API changes

Hi Peter,

I used the patch, but the error continues. Perhaps is better if I wait to
the next Orocos 2.5.0 version, it's depends if the date to publish this
release is not far away
Regards,
Toni

On Tue, Sep 27, 2011 at 10:47, Peter Soetens <peter [..] ...>wrote:

> Antonio,
>
> You can apply this patch on your RTT 2.4.0 version to fix the boost issues
> for
> RTT. This patch by Stephen had escaped me.
>
> cd rtt
> patch -p1 < 0001-plugin-More-fixes-for-Boost-filesystem-v3-API-change.patch
>
> Peter
>
>
> ---------- Forwarded message ----------
> From: Stephen Roderick <kiwi [dot] net [..] ...>
> To: Orocos Developers <orocos-dev [..] ...>
> Date: Fri, 15 Jul 2011 20:30:10 -0500
> Subject: [Orocos-Dev] PATCH RTT v2 for boost filesystem API changes
> Thanks again to boost filesystem API changes ...
>
>
>
>
>
> I really think we need to simplify snippets of code like this
>
> #if BOOST_VERSION >= 104600
> ext = filename.extension().string();
> #else
> ext = filename.extension();
> #endif
>
> spread all through a file, into something like
>
> #if BOOST_VERSION >= 104600
> #define STRING(filename) filename.string()
> #else
> #define STRING(filename) filename()
> #endif
> ...
> ext = STRING(filename.extension());
>
> as otherwise the maintenance fun with all those conditionals is going to
> make life difficult (NB the above snippet isn't syntactically correct, but
> you get the point).
> S
>
>
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
>