Source: mldemos
Version: 0.5.1-1
Severity: serious
Justification: FTBFS

Hello,

  Your package fails to build from source on Debian autobuilder network.

  Please check your package build logs at:
  <https://buildd.debian.org/status/package.php?p=mldemos&suite=sid>

  Apparently, 
  glwidget.cpp: In member function 'void GLWidget::DrawLines(const GLObject&) 
const':
  glwidget.cpp:685:58: error: invalid static_cast from type 'const qreal* {aka 
const float*}' to type 'double'

  glwidget.cpp:685 contains:

  glMultMatrixd(o.model.constData());

  The problem is that qreal is a float on ARM and glMultMatrixd expects a 
double. Using glMultMatrixf makes the issue fade away, but likely break other 
architectures where qreal is a double.

  Would it be possible to ifdef for thr ARM case, or cast/convert that qreal to 
a double?

Best regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.10-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to