fmtlegacy/include/fmt
VZ 2f3f3862fa
Fix harmless MSVS warning about using undefined _MANAGED symbol (#2183)
Since the changes of 1305cbeb (Fix MSVC2019 error C2049 when compiling
with /clr (#1897), 2020-09-23), compiling fmt with MSVS 2019 resulted in

fmt\include\fmt\core.h(180,32): warning C4668: '_MANAGED' is not defined
as a preprocessor macro, replacing with '0' for '#if/#elif'.

when the (disabled by default) warning C4668 was enabled.

Fix this simply by checking if _MANAGED is defined before testing it.
2021-03-17 11:21:50 -07:00
..
args.h Fix dynamic_format_arg_store::push_back comment 2021-03-15 07:10:28 -07:00
chrono.h update chrono duration formatter (constness), use it in compile-test for specs checks 2021-02-20 11:50:12 -08:00
color.h Remove fallback to inline specifier from FMT_CONSTEXPR(20) macro (#2075) 2020-12-30 06:23:20 -08:00
compile.h fix GCC 7,8,9 warning about unused but set parameter (#2177) 2021-03-13 06:36:53 -08:00
core.h Fix harmless MSVS warning about using undefined _MANAGED symbol (#2183) 2021-03-17 11:21:50 -07:00
format-inl.h Bitpack integral prefixes 2021-03-11 21:22:33 -08:00
format.h Fix MSVC /clr builds (#2179) 2021-03-15 08:17:28 -07:00
locale.h Workaround bugs in gcc 8 2020-11-01 06:08:28 -08:00
os.h Document output_file 2021-01-09 07:18:56 -08:00
ostream.h Suppress gcc warning on privates-only class (#2053) 2020-12-09 06:55:17 -08:00
posix.h Consistently namespace qualify size_t 2020-05-07 15:59:46 -07:00
printf.h Printf get container (#1982) 2020-11-12 08:37:04 -08:00
ranges.h Make ranges-test available with C++11 (#2114) 2021-01-30 07:42:58 -08:00