Compile ends because of M_PI not being defined in docs/tools/shadow.c: shadow.c(16): error: identifier "M_PI" is undefined return ((1 / (2 * M_PI * r)) * This is weird since the file correctly contains: #include <math.h>
Replacing M_PI with: 3.14159265358979323846 solves the problem and gtk+ can be fully compiled with only this change.
Interesting read at: http://stackoverflow.com/questions/5007925/using-m-pi-with-c89-standard
Is this still valid with latest gtk+-3.4.x?
(In reply to comment #3) > Is this still valid with latest gtk+-3.4.x?