Try to build cpp extension on Win10 but got "fatal error C1021: invalid preprocessor command 'warning'"

I think your Visual Studio might be too old.
@peterjc123 suggested in another thread to update VS to 15.3.

1 Like