From 99d4972e6b962ed91ef7dc8fb6943416fe86c846 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Sat, 26 May 2018 20:00:23 -0400 Subject: [PATCH] Disable fmtlib fmt macro that shadows existing Group::fmt function --- include/cantera/base/fmt.h | 4 ++++ 1 file changed, 4 insertions(+) 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