No subject


Thu Apr 28 01:28:22 CEST 2011


Perhaps it was added to address a bug in an older version of the compiler.

What's a little puzzling is that the compiler chooses to use that sqrt function
instead of one of the versions in cmath which are a better match.

Adding 'std::' here to the sqrt call seems to work as well but I'm not sure how
an older version of the compiler would behave.

#ifdef Q_CC_MSVC
# ifndef KDEWIN_MATH_H
   static long double sqrt( int a ) { return std::sqrt( (long double)a ); }
# endif
#endif

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Marble-bugs mailing list