Re-enable module testing

Prepare for compilation with gcc (modules branch).
This commit is contained in:
Daniela Engert
2021-05-29 20:00:41 +02:00
committed by Victor Zverovich
parent ad97258915
commit 70e67ae018
3 changed files with 20 additions and 6 deletions

View File

@@ -75,6 +75,11 @@ export module fmt;
#define FMT_END_DETAIL_NAMESPACE \
} \
export {
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER > 192930036
#define FMT_USE_NONTYPE_TEMPLATE_PARAMETERS 0
#endif
// all library-provided declarations and definitions
// must be in the module purview to be exported
#include "fmt/args.h"
@@ -86,7 +91,10 @@ export module fmt;
#include "fmt/printf.h"
#include "fmt/xchar.h"
// gcc doesn't yet implement private module fragments
#if !FMT_GCC_VERSION
module : private;
#endif
#include "format.cc"
#include "os.cc"