OpenGL lighting changes between compilers

I don’t know if anyone else has had these type of problem.

But I seem to be getting diffrent lighting between the same program compiled with Lcc-win32 and Dev-C++.

The only thing I can come up with is a diffrence in the math library and now the normals are calculated.

The Lcc-win32, the lighting changes just as expected, in Dev-C++ I get the colors washed out as if the ambient is set max, and adjusting it does not have any effect.

Anyone else have this type of problem, also code that would compile on one will no longer compile on the other.

Also those who have a bit of time try and compile my GLball demo on my website, would like to see what results people get.

http://www.angelfire.com/linux/nexusone/

[This message has been edited by nexusone (edited 01-22-2003).]