← Back to team overview

yade-dev team mailing list archive

Re: ubuntu 14.04 vs. Qt5?

 

Hi Bruno & Anton,

the bug is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891, see also my commits to Woo dealing with that https://github.com/woodem/woo/commit/bbfa4e038701985e7c370682cbd1396cfdf1b8b7#diff-a9ab7d00ca6a2a7ea83f9c204767ae3cR91 and https://github.com/woodem/woo/commit/9cc29d813641bae0f79e0c0ffe653b91ea5bd381 .

AFAICT it was fixed in more recentish versions of gcc/glibc again.

HTH, Václav
2016-06-13 11:55 GMT+02:00 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>:
/usr/include/vtk-6.0/vtkMath.h:1249:18: error: call of overloaded
‘isinf(double&)’ is ambiguous
    return (isinf(x) != 0); // Force conversion to bool

Any idea?
Try to change in /usr/include/vtk-6.0/vtkMath.h to:
return (std::isinf(x) != 0)

It has nothing to do with Yade though.

Anton

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Follow ups

References