mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-26 12:35:32 +00:00
__THROW warning fix for e2k (#2253)
This commit is contained in:
parent
1678ed6235
commit
0e6f989b0d
@ -490,7 +490,8 @@ double _strtod_l(const char* nptr, char** endptr, _locale_t locale) {
|
|||||||
# pragma warning(pop)
|
# pragma warning(pop)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if defined(__THROW) && FMT_GCC_VERSION > 0 && FMT_GCC_VERSION <= 408
|
# if defined(__THROW) && \
|
||||||
|
((FMT_GCC_VERSION > 0 && FMT_GCC_VERSION <= 408) || defined(__e2k__))
|
||||||
# define FMT_LOCALE_THROW __THROW
|
# define FMT_LOCALE_THROW __THROW
|
||||||
# else
|
# else
|
||||||
# define FMT_LOCALE_THROW
|
# define FMT_LOCALE_THROW
|
||||||
|
Loading…
x
Reference in New Issue
Block a user