diff --git a/include/magic_enum.hpp b/include/magic_enum.hpp index b6eb00a..8e20dc1 100644 --- a/include/magic_enum.hpp +++ b/include/magic_enum.hpp @@ -132,6 +132,7 @@ template #elif defined(_MSC_VER) return pretty_name({__FUNCSIG__, sizeof(__FUNCSIG__) - 17}); #else +# error "magic_enum: Unsupported compiler (https://github.com/Neargye/magic_enum#compiler-compatibility)." return {}; // Unsupported compiler. #endif }