Bug#800460: mathgl: Test program fails to build, syntax error in header

Dimitrios Eftaxiopoulos eftaxi12 at otenet.gr
Fri Apr 15 19:37:14 UTC 2016


Στις Παρασκευή, 15 Απριλίου 2016 9:06:03 Π.Μ. EEST Sylvain Joubert έγραψε:
> Package: libmgl-dev
> Version: 2.3.4-1+b1
> Followup-For: Bug #800460
> 
> Dear Maintainer,
> 
> Your last test example effectively compiles fine.
> However, that was not the exact repro steps of the bug report.

Dear Sylvain

> Compiling in C++11 mode still fails.
> $ g++ -lmgl -std=c++11 test.cpp

C++11 features have been disabled at configuration time, so the package 
builds without enabling theese features. Hence I cannot see the point of using 
the compilation option -std=cpp. 

> I have checked the /usr/include/mgl2/config.h file but I still see the two
> defines at '1' lines 22 and 27

I think that TYPEOF and C99_COMPLEX refer to older versions od the C language.

> 
> Thanks for your time,
> Sylvain
> 
> 
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (800, 'stable-updates'), (800, 'stable'),
> (700, 'unstable'), (90, 'experimental') Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages libmgl-dev depends on:
> ii  libgl1-mesa-dev [libgl-dev]  11.1.2-1
> ii  libgsl-dev                   2.1+dfsg-2
> ii  libmgl-fltk7.4.1             2.3.4-1+b1
> ii  libmgl-glut7.4.1             2.3.4-1+b1
> ii  libmgl-mpi7.4.1              2.3.4-1+b1
> ii  libmgl-qt5-7.4.1             2.3.4-1+b1
> ii  libmgl-wnd7.4.1              2.3.4-1+b1
> ii  libmgl-wx7.4.1               2.3.4-1+b1
> ii  libmgl7.4.1                  2.3.4-1+b1
> ii  libpng12-dev [libpng-dev]    1.2.54-4+b1
> 
> libmgl-dev recommends no packages.
> 
> libmgl-dev suggests no packages.
> 
> -- no debconf information

Thanks Dimitris



More information about the debian-science-maintainers mailing list