Red Hat Bugzilla – Bug 18874
/usr/include/stdlib.h Conflicts with local compiles.
Last modified: 2016-11-24 10:03:48 EST
When trying to compile some programs on RH 7, /usr/include/stdlib.h causes
an error to occure listing this as the reason:
/usr/include/GL/glut.h:202: declaration of 'void exit (int)' throws
/usr/include/stdlib.h:578: than previous declaration 'void exit (int)
This error occured when trying to compile tux-racer, and also running the
configure script for compiling Clan Lib. These programs have no connection
with each other, so I think it might be a problem with glibc, but I have
been proven wrong before.
It is illegal to redefine a function from the system libraries. The application
code must be fixed.