diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 14:21:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 14:24:22 +0100 |
commit | d5f19eb658d8b20619f5591f6de824741e348910 (patch) | |
tree | 1f01c9d375b307e98b667e780500c81284826a73 /solenv/gbuild | |
parent | 87cd02c4dab1e5b333b0c153b432dc7d9f47338d (diff) |
Avoid -Werror=pedantic when building CppunitTest_libreofficekit_checkapi
...at least the Linux-deb-x86_64@56-lhm-ubuntu-trusty tinderbox complains that
> include/LibreOfficeKit/LibreOfficeKitInit.h:223:77: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
> pSym2 = (LokHookFunction2 *) lok_dlsym(dlhandle, "libreofficekit_hook_2");
Change-Id: Ibd75a44fcc7da35ea32bde3fd2a300a16493789f
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 9de88a2fee92..67af078bb7b3 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -119,7 +119,7 @@ ifeq ($(COM_GCC_IS_CLANG),TRUE) gb_CXX03FLAGS := -std=gnu++98 -Werror=c++11-extensions -Wno-c++11-long-long \ -Wno-deprecated-declarations else -gb_CXX03FLAGS := -std=gnu++98 -pedantic-errors -Wno-long-long \ +gb_CXX03FLAGS := -std=gnu++98 -Wno-long-long \ -Wno-variadic-macros -Wno-non-virtual-dtor -Wno-deprecated-declarations endif |