aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-02-13 11:19:11 +0100
committerGitHub <noreply@github.com>2023-02-13 11:19:11 +0100
commita3a9a72f31401b83a264e64cc2f2190dffdfb380 (patch)
tree5636e74bee4e994f90173867116ce629c9aaa5f3 /src/lib/ndpi_main.c
parent85bab9e660fbffbc8b4ba09b721e6797a489dbf6 (diff)
Fix compilation with GCC-7 and latest RoaringBitmap code (#1886)
Latest RoaringBitmap version (introduced with bf413afb) triggers a new warning with GCC-7: ``` ivan@ivan-Latitude-E6540:~/svnrepos/nDPI(dev)$ CC=gcc-7 CXX=g++-7 ./autogen.sh && make -s autoreconf: Entering directory `.' [...] third_party/src/roaring.c:1815:1: warning: ‘no_sanitize’ attribute directive ignored [-Wattributes] static inline int array_container_cardinality(const array_container_t *array) { ^~~~~~ third_party/src/roaring.c:1964:5: warning: ‘no_sanitize’ attribute directive ignored [-Wattributes] const array_container_t *container2) { [..] ``` The core issue is that `no_sanitize` attribute is defined only for GCC >= 8. That breaks the CI since we still use GCC-7 and `-Werror`: add a simple workaround. Fix compilation on Windows
Diffstat (limited to 'src/lib/ndpi_main.c')
0 files changed, 0 insertions, 0 deletions