2025-01-30 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/Makefile
* src/vm/vmmt/Makefile
* src/vm/dlmalloc.c
* In GCC builds >= 6.1 use
#pragma GCC diagnostic ignored "-Wnull-dereference"
instead of foringg HB_FM_STD_ALLOC
This commit is contained in:
@@ -7,6 +7,14 @@
|
||||
Entries may not always be in chronological/commit order.
|
||||
See license at the end of file. */
|
||||
|
||||
2025-01-30 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/vm/Makefile
|
||||
* src/vm/vmmt/Makefile
|
||||
* src/vm/dlmalloc.c
|
||||
* In GCC builds >= 6.1 use
|
||||
#pragma GCC diagnostic ignored "-Wnull-dereference"
|
||||
instead of foringg HB_FM_STD_ALLOC
|
||||
|
||||
2025-01-30 04:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* contrib/hbzebra/datamtrx.c
|
||||
* added '#pragma GCC diagnostic ignored "-Warray-bounds"'
|
||||
|
||||
@@ -132,10 +132,6 @@ ifneq ($(HB_MT),no)
|
||||
DIRS += vmmt
|
||||
endif
|
||||
|
||||
ifeq ($(HB_BUILD_TEST),strict)
|
||||
HB_CFLAGS += -DHB_FM_STD_ALLOC
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/lib.mk
|
||||
ifneq ($(DIRS),)
|
||||
include $(TOP)$(ROOT)config/dir.mk
|
||||
|
||||
@@ -1460,6 +1460,11 @@ DLMALLOC_EXPORT int mspace_mallopt(int, int);
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( disable : 4146 ) /* no "unsigned" warnings */
|
||||
#endif /* _MSC_VER */
|
||||
#if defined(__GNUC__) && \
|
||||
(__GNUC__ > 6 || (__GNUC__ == 6 && __GNUC_MINOR__ >= 1))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnull-dereference"
|
||||
#endif
|
||||
#if !NO_MALLOC_STATS
|
||||
#include <stdio.h> /* for printing in malloc_stats */
|
||||
#endif /* NO_MALLOC_STATS */
|
||||
@@ -6058,6 +6063,10 @@ int mspace_mallopt(int param_number, int value) {
|
||||
|
||||
#endif /* MSPACES */
|
||||
|
||||
#if defined(__GNUC__) && \
|
||||
(__GNUC__ > 6 || (__GNUC__ == 6 && __GNUC_MINOR__ >= 1))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
/* -------------------- Alternative MORECORE functions ------------------- */
|
||||
|
||||
|
||||
@@ -85,8 +85,4 @@ LIBNAME := hbvmmt
|
||||
|
||||
HB_CFLAGS += -DHB_MT_VM
|
||||
|
||||
ifeq ($(HB_BUILD_TEST),strict)
|
||||
HB_CFLAGS += -DHB_FM_STD_ALLOC
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/lib.mk
|
||||
|
||||
Reference in New Issue
Block a user