Kaydet (Commit) f14cedc4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Silence Clang -Werror,-Wreturn-type-c-linkage

...after 9f016bd6 "Switch VclBuilder constructors to use VclPtr."

Change-Id: Ifc556c471bfbe3d0abf921ce3556ce75ad7a82ce
üst 9a521e3d
......@@ -72,6 +72,14 @@ gb_CXXFLAGS_COMMON := \
-fno-common \
-pipe \
# VCL_BUILDER_DECL_FACTORY (include/vcl/builderfactory.hxx) routinely causes
# "'make...' has C-linkage specified, but returns user-defined type
# 'VclPtr<vcl::Window>' which is incompatible with C
# [-Werror,-Wreturn-type-c-linkage]":
ifeq ($(COM_GCC_IS_CLANG),TRUE)
gb_CXXFLAGS_COMMON += -Wno-return-type-c-linkage
endif
gb_CXXFLAGS_Wundef = -Wno-undef
ifneq ($(HAVE_THREADSAFE_STATICS),TRUE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment