I'm sure that this is a simple matter, but for the life of me I cannot fathom why Visual Studio .NET likes to spits out:
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\stdlib.h(256) : error C2381: 'exit' : redefinition; __declspec(noreturn) differs
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\GL\glut.h(146) : see declaration of 'exit'
when Visual Studio 6 doesn't. I have done some looking about, and I have tried to change the exit function in glut.h without success, can anyone help me fix the problem?
Any help would be appricated



I did a no-no and changed glut.h:144 to replace: