Skip to content

Commit

Permalink
upgrade CRoaring to v2.0.2 (#1)
Browse files Browse the repository at this point in the history
* upgrade to v2.0.2

* upgrade c version to c17 (fixes 'Unknown atomic implementation')

* X_CONTAINER_TYPE_CODE was replaced with X_CONTAINER_TYPE

* use the global memory hook instead of redefining the memory allocation interface

* fix mismatched type signatures
  • Loading branch information
smmathews-brandwatch authored Oct 10, 2023
1 parent 9aa507d commit f00a87c
Show file tree
Hide file tree
Showing 7 changed files with 21,470 additions and 17,141 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REGRESS = $(patsubst sql/%.sql,%,$(TESTS))
MODULE_big = roaringbitmap
OBJS = roaringbitmap.o

roaringbitmap.o: override CFLAGS += -std=c99 -Wno-error=maybe-uninitialized \
roaringbitmap.o: override CFLAGS += -std=c17 -Wno-error=maybe-uninitialized \
-Wno-declaration-after-statement -Wno-missing-prototypes

PG_CONFIG = pg_config
Expand Down
2 changes: 1 addition & 1 deletion Makefile_native
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REGRESS = $(patsubst sql/%.sql,%,$(TESTS))
MODULE_big = roaringbitmap
OBJS = roaringbitmap.o

roaringbitmap.o: override CFLAGS += -march=native -std=c99 -Wno-error=maybe-uninitialized \
roaringbitmap.o: override CFLAGS += -march=native -std=c17 -Wno-error=maybe-uninitialized \
-Wno-declaration-after-statement -Wno-missing-prototypes

PG_CONFIG = pg_config
Expand Down
30,564 changes: 20,048 additions & 10,516 deletions roaring.c

Large diffs are not rendered by default.

Loading

0 comments on commit f00a87c

Please sign in to comment.