glad icon indicating copy to clipboard operation
glad copied to clipboard

Glad generate a C file but is using C++ stl

Open ahmidou opened this issue 2 years ago • 1 comments

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 glad anymore with VS 2022 17.1 and MSVC toolset 143

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

ahmidou avatar Jul 19 '22 13:07 ahmidou

Do you have the exact error, I don't think glad includes any C++ headers. Where does it come from? Changing the extension is not a fix.

Dav1dde avatar Jul 19 '22 13:07 Dav1dde

Duplicate #381

Dav1dde avatar Oct 07 '22 07:10 Dav1dde