[Marble-devel] unused code in marblewidget.cpp and marblemap.cpp

jun yang slickqt at gmail.com
Mon Jan 10 10:38:39 CET 2011


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

i sometimes got sqrt cause stack overflow(vs2008+sp1), and comment out
the definiton in the two files, and all is ok.


More information about the Marble-devel mailing list