[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Autoconf detection of libsparsehash-dev fails in sga (Was: Bug#938472: sga: Python2 removal in sid/bullseye)

Andreas Tille wrote:
> The configure faulure is rather:
> checking google/sparse_hash_set usability... no
> checking google/sparse_hash_set presence... yes
> configure: WARNING: google/sparse_hash_set: present but cannot be compiled

> +export DEB_CXXFLAGS_MAINT_APPEND=-std=c++98

The problem is exactly the opposite -- configure.ac is enforcing c++98
while these headers assume a newer standard.  The configure check
should pass if you remove this line in configure.ac:

| AC_SUBST(CXXFLAGS, "-std=c++98 -O3")

However, you may encounter compilation errors if the software is not
yet ready for GCC's default C++ standard.

Reply to: