On 17.02.2015 06:25, Tor Lillqvist wrote:

> No idea what causes your MAX_FALLBACK issue. It is clearly defined in
> vcl/inc/magic.h: #define MAX_FALLBACK 16. Quite possibly, your
> VALGRIND_CFLAGS, or some other special thing you do, causes some other
> magic.h to be included instead.

Vlad, in case you're still having trouble with that you can debug that
by applying the attached patch and checking the generated file
workdir/CxxObject/vcl/source/font/PhysicalFontCollection.o.ii
to see which "magic.h" was included.
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk
index 0ce02d6..9a8cddb 100644
--- a/solenv/gbuild/platform/com_GCC_class.mk
+++ b/solenv/gbuild/platform/com_GCC_class.mk
@@ -55,8 +55,8 @@ $(call gb_Helper_abbreviate_dirs,\
 		$(if $(5),$(gb_COMPILER_PLUGINS)) \
 		$(2) \
 		$(if $(EXTERNAL_CODE),$(gb_CXXFLAGS_Wundef),$(gb_DEFS_INTERNAL)) \
-		-c $(3) \
-		-o $(1) \
+		-E $(3) \
+		-o $(1).ii \
 		$(call gb_cxx_dep_generation_options,$(1),$(4)) \
 		-I$(dir $(3)) \
 		$(INCLUDE) \
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to