Closed nosoop closed 3 years ago
Resolved. Apparently, removing every instance of #define swap V_swap
and #undef swap
allows it to compile.
I'll have to make sure this works on my old toolchain (maybe outdated HL2SDK is part of the issue?), but I guess the fix is straightforward enough.
Edit: Yep, the HL2SDK for DoD:S was updated 'recently' to avoid the naming conflicts I experienced with the C++ STL.
While it does compile correctly on Ubuntu 16.04 (LTS) and Debian 8, I'm stumped at what this error is on Debian 10:
Attempting to
#include <utility>
produces a similar result:Both are configured to compile against SM 1.10 and ambuild commit
b158427
.