Windows c++ compile errors

I’m trying to debug some custom extensions.

when using cl to build in vscode, I get the following errors from Optional.h:

‘c10::constexpr_storage_t’: destructor was implicitly defined as deleted

and

‘c10::trivially_copyable_optimization_optional_base’: destructor was implicitly defined as deleted

Does anyone have any idea how to overcome this?