Dungeon Dilettante
Posts: 4
Joined: Thursday, 18th February 2021, 05:11
C++ vs C headers? Visual Studio
There is an MSVC folder in source that contains a Visual Studio project for crawl, presumably for doing Windows development and builds. When I open it, Visual Studio complains about dozens of missing header files.
What is curious is the missing headers are mostly all the standard C header files. e.g.:
#include <stddef.h>
#include <string.h>
The C++ version of those files would normally be:
#include <cstddef>
#include <cstring>
Just wondering if any devs have insight on how this could be handled to bring the MSVC project back to the state where it could compile but without breaking crawl for the rest of the developers?
What is curious is the missing headers are mostly all the standard C header files. e.g.:
#include <stddef.h>
#include <string.h>
The C++ version of those files would normally be:
#include <cstddef>
#include <cstring>
Just wondering if any devs have insight on how this could be handled to bring the MSVC project back to the state where it could compile but without breaking crawl for the rest of the developers?