diff --git a/include/cantera/base/fmt.h b/include/cantera/base/fmt.h index 98322e4d4..7cdb9d67b 100644 --- a/include/cantera/base/fmt.h +++ b/include/cantera/base/fmt.h @@ -1,6 +1,10 @@ //! @file fmt.h Wrapper for either system-installed or local headers for fmt #include "ct_defs.h" +//! Do not use the fmt macro from fmtlib because it shadows a function of +//! the same name in kinetics/Group.h +#define FMT_NO_FMT_STRING_ALIAS + #if CT_USE_SYSTEM_FMT #include "fmt/format.h" #if defined(FMT_VERSION) && FMT_VERSION >= 40000