[PATCH] compilation errors rtt 2.3.0 boost 1.46

A new boost version has been released, 1.46. The boost/filesystem lib has had a major revision, for that small changes need to be made to PluginLoader.cpp Furthermore, I get errors because 'assertion' is ambiguous in the Parsers. I suppose it has to do with changes to boost/assertion. I added namespace specifiers in front of assertion, not sure though if this is what you think is appropriate. It made the compilation succeed.

Patches attached.

Cheers, Theo.

AttachmentSize
boost1.46.patch.tar_.gz3.11 KB

[PATCH] compilation errors rtt 2.3.0 boost 1.46

On Wednesday 09 March 2011 08:59:45 t [dot] j [dot] a [dot] devries [..] ... wrote:
> A new boost version has been released, 1.46. The boost/filesystem lib has
> had a major revision, for that small changes need to be made to
> PluginLoader.cpp Furthermore, I get errors because 'assertion' is
> ambiguous in the Parsers. I suppose it has to do with changes to
> boost/assertion. I added namespace specifiers in front of assertion, not
> sure though if this is what you think is appropriate. It made the
> compilation succeed.
>
> Patches attached.
>

Thanks for these. We'll have the same issue with
ocl/deployment/ComponentLoader.cpp which also uses filename(). Did you fix that
one too ?

Peter

Re: [PATCH] compilation errors rtt 2.3.0 boost 1.46

peter wrote:
On Wednesday 09 March 2011 08:59:45 t [dot] j [dot] a [dot] devries [..] ... wrote: > A new boost version has been released, 1.46. The boost/filesystem lib has > had a major revision, for that small changes need to be made to > PluginLoader.cpp Furthermore, I get errors because 'assertion' is > ambiguous in the Parsers. I suppose it has to do with changes to > boost/assertion. I added namespace specifiers in front of assertion, not > sure though if this is what you think is appropriate. It made the > compilation succeed. > > Patches attached. >

Thanks for these. We'll have the same issue with ocl/deployment/ComponentLoader.cpp which also uses filename(). Did you fix that one too ?

Peter

Yes, you are right. Patch attached.

Cheers, Theo.

[PATCH] compilation errors rtt 2.3.0 boost 1.46

On Sunday 13 March 2011 15:31:04 t [dot] j [dot] a [dot] devries [..] ... wrote:
>

peter wrote:
On Wednesday 09 March 2011 08:59:45 t [dot] j [dot] a [dot] devries [..] ...
wrote:
> > A new boost version has been released, 1.46. The boost/filesystem lib has
> > had a major revision, for that small changes need to be made to
> > PluginLoader.cpp Furthermore, I get errors because 'assertion' is
> > ambiguous in the Parsers. I suppose it has to do with changes to
> > boost/assertion. I added namespace specifiers in front of assertion, not
> > sure though if this is what you think is appropriate. It made the
> > compilation succeed.
> >
> > Patches attached.
>
> Thanks for these. We'll have the same issue with
> ocl/deployment/ComponentLoader.cpp which also uses filename(). Did you fix
> that one too ?
>
> Peter
>

>
> Yes, you are right. Patch attached.
>
> Cheers, Theo.

Applied, thanks.

Peter