I am referring to errors of the following form when compiling on OSX:
'gluErrorString' is deprecated: first deprecated in OS X 10.9
A cursory google+DDG indicates that a bunch of GLU and GLUT functions were deprecated as well, but Apple's reference has no information regarding the reasoning behind the change or the suggested successor(s). I'm not using GLUT and simply want to get a human-readable error description from GL.
Existing answers to this question and others suggest using a different framework, targeting earlier OSX versions, or suppressing the warnings, but I cannot find evidence of a proper solution.
So, what happened? And what's the recommended way to get an error string?