Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wasm-type-printing.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ template<typename Subclass> struct TypeNameGeneratorBase {

private:
constexpr void assertValidUsage() {
// This check current causes a crash on MSVC
// TODO: Convert to C++20 requires check
#if !defined(_MSC_VER) && (!defined(__GNUC__) || __GNUC__ >= 14)
// The check need MSVC 18.6.0+, otherwise it will cause compiler crash.
#if (!defined(__GNUC__) || __GNUC__ >= 14)
// Check that the subclass provides `getNames` with the correct type.
using Self = TypeNameGeneratorBase<Subclass>;
static_assert(
Expand Down
Loading