I tried playing with the dev branch today (71fea99418e8b932bea7fbb7234a7bbbe4fb708f), but got this warning:
In file included from /home/avj/clones/crab/dev/build/_INSTALL_DIR_/../../tests/./crab_dom.hpp:6,
from /home/avj/clones/crab/dev/build/_INSTALL_DIR_/../../tests/common.hpp:6,
from 01_simple_crab.cpp:1:
/home/avj/clones/crab/dev/build/_INSTALL_DIR_/crab/include/crab/domains/array_adaptive.hpp:64:35: warning: comparison between ‘enum crab::domains::array_adaptive_impl::DefaultParams::<unnamed>’ and ‘enum crab::domains::array_adaptive_impl::DefaultParams::<unnamed>’ [-Wenum-compare]
static_assert(max_array_size <= max_smashable_cells,
^~~~~~~~~~~~~~~~~~~
/home/avj/clones/crab/dev/build/_INSTALL_DIR_/crab/include/crab/domains/array_adaptive.hpp:77:35: warning: comparison between ‘enum crab::domains::array_adaptive_impl::NoSmashableParams::<unnamed>’ and ‘enum crab::domains::array_adaptive_impl::NoSmashableParams::<unnamed>’ [-Wenum-compare]
static_assert(max_array_size <= max_smashable_cells,
It seems that this is a legitimate issue, as max_array_size and max_smashable_cells come from different enums.
GCC version
g++ (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I tried playing with the
dev
branch today (71fea99418e8b932bea7fbb7234a7bbbe4fb708f), but got this warning:It seems that this is a legitimate issue, as
max_array_size
andmax_smashable_cells
come from different enums.GCC version