exit: redefinition; '__declspec(noreturn)' or '[[noreturn]]' code example
Example: exit: redefinition; '__declspec(noreturn)' or '[[noreturn]]'
//Override the definition in glut.h with that in stdlib.h. Place the stdlib.h line above the glut.h line in your code
#include <stdlib.h>
#include <GL/glut.h>