mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
error if unsupported compiler
This commit is contained in:
parent
a9f8797ff2
commit
7707d08ff5
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue