I just updated to the 3.3 CVS (and created a 3.2 tree also).

The first problems I saw where with glut.h
These are with _WIN32

1) (warning)
glut.h defines CALLBACK, but it seems to be also 
defined by gl.h, so there is a "already defined"
warning.


2) (error)
glut.h around line 155 the line typedeffing GLYPHMETRICSFLOAT
doesn't end with a semicolon.

This error seems to be both in 3.3 and in 3.2.


3) (ugly, error, C++ problem)

both glut.h and mesa_wgl.h contain definitions for the wgl-functions

-duplication is ugly...

-not duplicating correctly is worse... 
the definitions for DescribePixelFormat don't match (error)

according to the docs I have correct form would be:
WGLAPI int   GLAPIENTRY DescribePixelFormat(HDC,int,unsigned
int,LPPIXELFORMATDESCRIPTOR);

-mesa_wgl.h does not contain magic words extern "C", which
makes it fail with C++

These are also both in 3.2 and 3.3

I will next try to actually compile Mesa, I will send the results 
(and the patch for Makefile.fx latter today)

                Eero


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to