seems similar to
Bug 654996: use target-specific variable to disable -Werror in these cases
https://bugzilla.mozilla.org/show_bug.cgi?id=654996
so in core/manifest.mk we do
----
ifeq (x86_64,$(TARGET_CPU))
ifeq ($(TARGET_OS),linux)
$(curdir)/AvmCore.$(OBJ_SUFFIX): avmplus_CXXFLAGS += -Wno-error
$(curdir)/CodegenLIR.$(OBJ_SUFFIX): avmplus_CXXFLAGS += -Wno-error -fpermissive
$(curdir)/exec-jit.$(OBJ_SUFFIX): avmplus_CXXFLAGS += -Wno-error
$(curdir)/exec-osr.$(OBJ_SUFFIX): avmplus_CXXFLAGS += -Wno-error
$(curdir)/InvokerCompiler.$(OBJ_SUFFIX): avmplus_CXXFLAGS += -Wno-error
$(curdir)/LirHelper.$(OBJ_SUFFIX): avmplus_CXXFLAGS += -Wno-error
$(curdir)/PoolObject.$(OBJ_SUFFIX): avmplus_CXXFLAGS += -Wno-error
endif
endif
----
and here the real problem
- fixing bug in our source code, it's OK
- going into the AVM2 source code to fix such bugs is possible but not wanted
Original issue reported on code.google.com by zwetan on 20 Oct 2014 at 10:58
Original issue reported on code.google.com by
zwetan
on 20 Oct 2014 at 10:58