On 30 October 2018 at 15:47, D Haley wrote:
| 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>

You meant

   #include <gsl/filter/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’

I can confirm that.
 
| 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

I do not know what you are trying to suggest here.

You correctly identify this as an _upstream_ issue. Can you please work with
_upstream_ ? It is not something I introduced packaging it.

Please just edit your file locally and press upstream to release a new version.

Dirk

 
 
| -- 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

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Reply via email to