The glCheck macro is only active in non-release builds anyway. It's sole purpose is to help debug problems that might arise from wrong usage of OpenGL. This is significantly more likely to happen in sfml-graphics than in sfml-window because OpenGL is used to actually draw stuff there. There is almost no risk of anything going wrong with regards to that little bit of OpenGL in EaglContext.mm, so other than for pure development/debugging purposes (such as in your case now), glCheck isn't really needed there. With the exception of running on a broken system, there isn't really any way a user could even deliberately cause an OpenGL error in there.