M_PI

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Fri Apr 7 19:10:29 CEST 2006


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:Paulo.Guedes at artelecom.pt]
> Sent: sexta-feira, 7 de Abril de 2006 18:03
> To: kde-buildsystem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: math.h
Type: application/octet-stream
Size: 23773 bytes
Desc: math.h
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060407/a1a244b7/attachment-0001.obj 


More information about the Kde-buildsystem mailing list