Alex Perry writes: > > > > SkyContext.cpp:55: conversion from `int' to `enum GLenum' > > From: "Norman Vine" <[EMAIL PROTECTED]> > > I don't understand this one Alex ?? > > from my GL/glut.h > > #define GLUT_WINDOW_WIDTH ((GLenum) 102) > > GLUTAPI int APIENTRY glutGet(GLenum type); > > Yeah, my glut.h file doesn't have the (GLenum) type cast on the number.
Ah OK recent c++ compilers < AFAICT gcc 3 + > enforce type 'correctness' by default whereas before it was a warning Cheers Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
