diff --git a/include/GL/gl.h b/include/GL/gl.h index 4450158..07b5953 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -15,8 +15,6 @@ * For a full copy of the GNU General Public License see the LICENSE file. */ -// this file matches the top of `OpenGL.hpp` provided by DPF - #pragma once #ifdef HEADLESS diff --git a/include/mingw-compat/cstdio b/include/mingw-compat/cstdio index 28cecb7..ed01637 100644 --- a/include/mingw-compat/cstdio +++ b/include/mingw-compat/cstdio @@ -44,9 +44,11 @@ static inline void printf() {} # define printf STDIO_OVERRIDE_MACRO(STDIO_OVERRIDE, printf) // step 6: place the macro prefixed names in std namespace +/* namespace std { using ::printf; } +*/ // extra, there might be warnings for GCC format attribute, ignore those #pragma GCC diagnostic ignored "-Wformat"