optional.hpp missing on buildbots?

Luboš Luňák l.lunak at collabora.com
Wed Nov 13 06:59:55 UTC 2019


On Wednesday 13 of November 2019, Chris Sherlock wrote:
> Hi all,
>
> Do you know why I am getting the error "compiler couldn't find the file
> »boost/optional.hpp« referenced from
> C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/include\vcl/outdev
>state.hxx(31)” ?
>
> The change in gerrit is:
>
> https://gerrit.libreoffice.org/#/c/82454/6
> <https://gerrit.libreoffice.org/#/c/82454/6>
>
> I have added boost headers into the test,

 Not really, you did it incorrectly, and gmake/gbuild silently ignores the 
error. You forgot the unittest name, see e.g. 
https://cgit.freedesktop.org/libreoffice/core/tree/vcl/CppunitTest_vcl_gen.mk#n32 
on how to add boost headers correctly.

> so I can’t work out why this is 
> happening… anyone have any ideas? Interestingly, the gcc build works fine.



-- 
 Luboš Luňák
 l.lunak at collabora.com


More information about the LibreOffice mailing list