Ooof, it would be nice if the MSVC team would work on C standard support instead of adding regressions :/
This code is valid C (.source is a `const char*`):
const bool has_vs = desc->vertex_func.source;
...but MSVC 14.52.37025 warns:
warning C4047: 'initializing': 'const bool' differs in levels of indirection from 'const char *const '
(MSVC 14.51.36231 is fine)
Oh well, I guess this is more readable anyway:
const bool has_vs = (0 != desc->vertex_func.source);
@floooh C is such a simple language. I don't understand why they don't keep it up to date.
Historically consistent though. There used to be Microsoft Fortran.