View Single Post
nosoop
Veteran Member
Join Date: Aug 2014
Old 05-28-2021 , 00:32   Re: MM:S plugin fails to compile due to stdlib-related error on newer toolchains
Reply With Quote #2

Ah, that's silly. Commenting out every instance of

Code:
#define swap V_swap
and

Code:
#undef swap
seems to work. This effectively reverts one of my previous commits in my fork which intended to avoid conflicts with libstdc++ at the time. (It predates the corresponding commit to fix this in DoD:S.)

Not sure why the redefinition doesn't show up in the compiler errors, but regardless, this is solved.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 05-28-2021 at 02:18.
nosoop is offline