From: <se-...@un...> - 2000-06-13 00:37:13
|
Hi there! Please consider this 7-line program, 'test.cpp': #include <cstdlib> #include <GL/glut.h> int main(void) { return 0; } I'm working with Mesa on Linux, when compiling test.cpp with -ansi -pedantic i get: In file included from test.cpp:2: /usr/include/GL/glut.h:202: warning: declaration of `exit(int)' throws different exceptions /usr/include/stdlib.h:520: warning: previous declaration here glut.h declares exit(), why? I think that exit() dcl isn't needed to GLUT end-users; can you remove it on next release? If it is needed, glut.h should include stdlib.h... Thanks a lot. Mesa rocks. |