https://bugs.documentfoundation.org/show_bug.cgi?id=104498
Bug ID: 104498
Summary: GCC issues warnings about undefined symbols when
cppunit is not installed as system library
Product: cppunit
Version: 1.12
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: General
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: d...@randomsample.de
For cross-compilation I have cppunit installed underneath /opt, so that gcc
does not view it as a system library. Since -Wundef is enabled in our projects,
it then warns about CPPUNIT_STD_NEED_ALLOCATOR being undefined, which is
annoying. In current git master it also warns about CPPUNIT_USE_TYPEINFO_NAME.
The simple fix I applied for this is attached. I'd appreciate if you could
commit this or something similar to silence the warnings.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs