Name Description Size
c11
c11_compat.h Copyright 2019 Intel Corporation 483
c99_compat.h MSVC hacks. 5298
GL
KHR
no_extern_c.h Including system's headers inside `extern "C" { ... }` is not safe, as system headers may have C++ code in them, and C++ code inside extern "C" leads to syntatically incorrect code. This is because putting code inside extern "C" won't make __cplusplus define go away, that is, the system header being included thinks is free to use C++ as it sees fits. Including non-system headers inside extern "C" is not safe either, because non-system headers end up including system headers, hence fall in the above case too. Conclusion, includes inside extern "C" is simply not portable. This header helps surface these issues. 2050