Error with Boost scope
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Feb 4 16:41:08 UTC 2020
On 04/02/2020 14:37, M. Dodson wrote:
>>> Specifically, my waf has:
>>>
>>> includes = [
>>> ...
>>> '/Users/michaeldodson/projects/rtems_root/boost_1_72_0',
>>> '/usr/local/include’]
>>>
>>> It seems to be finding the header files just fine, as the errors are associated with a declaration within the header that isn’t in scope.
>> You should not use standard installation paths of your host system for header files of the RTEMS target. This may accidentally pull in undesired header files.
> I’m possibly misunderstanding your statement:
>
> I was only including '/Users/michaeldodson/projects/rtems_root/boost_1_72_0’ (the location of the Boost libraries built with the RTEMS cross-compilation tools. The errors I reported were based on a build only using that include path.
In your first email there are also /usr/local/include paths in the log.
Do you have an example code which triggers the issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20200204/195bb813/attachment.html>
More information about the users
mailing list