1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

error if unsupported compiler

This commit is contained in:
neargye 2019-08-24 14:16:24 +05:00
parent a9f8797ff2
commit 7707d08ff5

View file

@ -132,6 +132,7 @@ template <typename E, E V>
#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
}