GLUT Problems with Watcom Compiler

Hi,

i have a strange problem when compiling GLUT applications with the OpenWatcom Compiler:

Problem description:

  1. The GLUT Application is a Console Program and uses the console for writing status informations - so far, so good.

but:

  1. When i close the Displaying Window, the glutMainLoop Function never returns and the console window “hangs” until i manually terminate the task.

I use the following configuration:

  • OpenWatcom 1.2 Compiler (compiler switches: /6s /dGLUT_DISABLE_ATEXIT_HACK; The ATEXIT hack has to be disabled because otherwise i get error messages complaining about missing dll exports)
  • GLUT 3.7 from Nate Robins

Bye, Egon