Package: libgsl23 Version: 2.5+dfsg-5 Severity: normal Dear Maintainer,
The following program will not compile when using a c++ compiler: #include <gsl/gsl_filter.h> int main() { } This gives the following error: $ g++ tmp.cpp -o tmp In file included from /usr/include/gsl/gsl_filter.h:25:0, from tmp.cpp:1: /usr/include/gsl/gsl_movstat.h:58:9: error: expected unqualified-id before ‘delete’ int (*delete) (void * vstate); ^~~~~~ /usr/include/gsl/gsl_movstat.h:58:9: error: expected ‘)’ before ‘delete’ This is due to C++ conflicting with the delete operator in the header. This should have been fixed upstream [1], but I can't see that this has actually been pushed to the gsl git repo [2]. Without this fix it is not possible for a user to use the new filter functions, unless they manually alter gsl_movstat.h [1] https://lists.nongnu.org/archive/html/help-gsl/2018-08/msg00002.html [2] http://git.savannah.gnu.org/cgit/gsl.git/tree/movstat/gsl_movstat.h?h=release-2-5&id=4be1af794429e80137b2bc177e66fb106ee58976 -- System Information: Debian Release: 9.5 APT prefers stable APT policy: (900, 'stable'), (1, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-7-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages libgsl23 depends on: ii libc6 2.24-11+deb9u3 ii libgslcblas0 2.5+dfsg-5 libgsl23 recommends no packages. Versions of packages libgsl23 suggests: pn gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html <none> -- no debconf information