Hi Alex,

Thanks again! The two missing 'return T' were responsible for the warnings. The refresh problem was caused by a missing '(glut:SwapBuffers)'. ;-)

/Jon

Hi Jon,

 a couple of these: "warning: control reaches end of non-void
 function". I'm a rather lousy C programmer, and I have no idea what

I haven't tried yet to compile it myself, but probably the warning comes
from 'AddMenuEntry'? Try to put a 'return T' at the end:

   ...
         bufString(ex, name);
         glutAddMenuEntry(name, value);
         return T;
      }
   }

As this function returns garbage data without the 'T', it may well
explain the wrong behavior.

Cheers,
Alx
--
   Software Lab. Alexander Burger
   Bahnhofstr. 24a, D-86462 Langweid
   [EMAIL PROTECTED], www.software-lab.de, +49 8230 5060

Reply via email to