[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#822708: caneda: FTBFS with GCC 6: call of overloaded 'abs(qreal)' is ambiguous



Control: tag -1 - moreinfo

On Tuesday 26 April 2016 23:47:08 Lisandro Damián Nicanor Pérez Meyer wrote:
[snip] 
> Interestingly enough if I change all the <cmath> includes with <math.h>
> everything compiles as expected. So I'm really suspecting a gcc bug here.

PEBCAK. Using cmath means the code needs to use the std:: namespace, which 
isn't. And somehow Qt seems to include math.h, so it won't be noted at compile 
time... until gcc6 :)

Sorry for the noise!

-- 
El tiempo es un buen maestro, solo que lamentablemente,
asesina a todos sus discípulos.
 Curt Goetz. (1888-1960).

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: