From 7b60abf569c9be180c0dda89d32892dfd75e7dec Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 12 Jan 2025 16:11:50 -0500 Subject: [PATCH] add LAMMPS customization for Intel compilers --- src/fmt/base.h | 3 +++ 1 file changed, 3 insertions(+) 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