C error: Expected expression

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Nov 13 14:57:39 UTC 2018


> Perhaps a semicolon is needed? i.e.
> 
> int APIENTRY;
> glutExtensionSupported(const char *extension)

nope, that is definitely invalid code.

As Joshua said, you need to investigate how APIENTRY is defined.

Chris



More information about the macports-dev mailing list