I'm going out for the weekend and I won't have an internet connection. I also send the math.h file that fixes the compilation.
Paulo > -----Original Message----- > From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] > Sent: sexta-feira, 7 de Abril de 2006 18:03 > To: kde-buildsystem@kde.org > Subject: M_PI > > Hi, > > Look at this error: > > D:\dashboard-vc2005\kdelibs\kdefx\kimageeffect.cpp(3051) : error C2065: > 'M_PI' : undeclared identifier > > The <math.h> file that is being used by kdewin32 is in the path " > C:\Program Files\Microsoft Visual Studio 8\VC\include\math.h" and it's > the file that goes attached. > It has indeed M_PI declared and defined. Somehow the compiler doesn't > think so. If I place the same define on the top of the file it works. > > Can somebody investigate this? > > Paulo
math.h
Description: math.h
_______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem