> It should be also clear that using option c is no guarantee for
> forcing an application programmer to update the source-code to be
> compliant with the standard, as the following code (as it is today)
> might still compile and work (if the libGL.so exports the right
> symbols):
> 
> #ifdef WIN32
>       (*wglGetProcAddress("glPointParameterfEXT"))(...);
> #else
>       glPointParameterfEXT(...);
> #endif

With options (b) or (c) you should get a warning when compiling for oglbase
since the prototype for glPointParametersfEXT would not be defined, assuming
we did what you proposed in gl.h

#if something
#include <GL/glext.h>
#else
#define GL_EXT_point_parameters 1
extern void glPointParameterfEXT(...);
#endif

This is one of the major advantages of (b) over (a).

Reply via email to