If I understand correctly, then other non standard variables in
wglGraphicsStateGuardian.h should also be protected using
#ifndef CPPPARSER … #endif ?
For example: wglGraphicsStateGuardian.h
...
bool get_properties_advanced(FrameBufferProperties &properties, HDC hdc, int pfnum);
void choose_pixel_format(const FrameBufferProperties &properties, bool need_pbuffer);
virtual void reset();
#ifndef CPPPARSER
INLINE HDC get_twindow_dc();
#endif
static bool get_gamma_table(void);
static bool static_set_gamma(bool restore, PN_stdfloat gamma);
...