M_PI

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Fri Apr 7 19:03:28 CEST 2006


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: 23643 bytes
Desc: math.h
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060407/69d67652/attachment-0001.obj 


More information about the Kde-buildsystem mailing list