skaslev / gl3w

Simple OpenGL core profile loading
http://github.com/skaslev/gl3w
The Unlicense
705 stars 157 forks source link

Gl3w generate a C file but is using C++ stl #77

Open ahmidou opened 2 years ago

ahmidou commented 2 years ago

https://github.com/ofiwg/libfabric/issues/7041#issuecomment-914839351

We made this change very recently in https://github.com/microsoft/STL/pull/2148 which forbids including standard library headers from C programs.

I can't build with gl3w anymore in VS 2022 17.1 and MSVC toolset 143

a simple fix would be to change the c extension to cpp