diff --git a/src/fmt/base.h b/src/fmt/base.h index efa957d8d2..150c3a42ad 100644 --- a/src/fmt/base.h +++ b/src/fmt/base.h @@ -2238,12 +2238,15 @@ template class value { custom.format = format_custom>; } +#if !defined(__INTEL_COMPILER) && !defined(__ICL) + // LAMMPS customization: disable for Intel compilers as some of them choke on it template ())> FMT_CONSTEXPR value(const T&, custom_tag) { // Cannot format an argument; to make type T formattable provide a // formatter specialization: https://fmt.dev/latest/api.html#udt. type_is_unformattable_for _; } +#endif // Formats an argument of a custom type, such as a user-defined class. template