mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-09 12:50:05 +00:00
Suppress a bogus MSVC warning
This commit is contained in:
parent
f1e3016c13
commit
a2c290bc34
@ -1,5 +1,11 @@
|
|||||||
module;
|
module;
|
||||||
|
|
||||||
|
#ifdef _MSVC_LANG
|
||||||
|
# define FMT_CPLUSPLUS _MSVC_LANG
|
||||||
|
#else
|
||||||
|
# define FMT_CPLUSPLUS __cplusplus
|
||||||
|
#endif
|
||||||
|
|
||||||
// Put all implementation-provided headers into the global module fragment
|
// Put all implementation-provided headers into the global module fragment
|
||||||
// to prevent attachment to this module.
|
// to prevent attachment to this module.
|
||||||
#ifndef FMT_IMPORT_STD
|
#ifndef FMT_IMPORT_STD
|
||||||
@ -15,7 +21,9 @@ module;
|
|||||||
# include <cstring>
|
# include <cstring>
|
||||||
# include <ctime>
|
# include <ctime>
|
||||||
# include <exception>
|
# include <exception>
|
||||||
|
# if FMT_CPLUSPLUS > 202002L
|
||||||
# include <expected>
|
# include <expected>
|
||||||
|
# endif
|
||||||
# include <filesystem>
|
# include <filesystem>
|
||||||
# include <fstream>
|
# include <fstream>
|
||||||
# include <functional>
|
# include <functional>
|
||||||
|
Loading…
Reference in New Issue
Block a user