forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fmt] update to 11.0.2 (microsoft#39738)
- Loading branch information
Showing
46 changed files
with
461 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/include/bux/FA.h b/include/bux/FA.h | ||
index 907ed95..f8439b8 100644 | ||
--- a/include/bux/FA.h | ||
+++ b/include/bux/FA.h | ||
@@ -9,6 +9,7 @@ | ||
#include <map> // std::map<> | ||
#include <set> // std::set<> | ||
#include <vector> // std::vector<> | ||
+#include <iterator> | ||
|
||
namespace bux { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/fizz/record/Types.h b/fizz/record/Types.h | ||
index 2cb449a..f1a370b 100644 | ||
--- a/fizz/record/Types.h | ||
+++ b/fizz/record/Types.h | ||
@@ -454,7 +454,7 @@ struct hash<fizz::ExtensionType> { | ||
|
||
template <> | ||
struct fmt::formatter<fizz::ExtensionType> : formatter<unsigned> { | ||
- auto format(fizz::ExtensionType t, format_context& ctx) { | ||
+ auto format(fizz::ExtensionType t, format_context& ctx) const { | ||
return formatter<unsigned>::format(folly::to_underlying(t), ctx); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMake/GenPkgConfig.cmake b/CMake/GenPkgConfig.cmake | ||
index 0e93175..1637d9f 100644 | ||
--- a/CMake/GenPkgConfig.cmake | ||
+++ b/CMake/GenPkgConfig.cmake | ||
@@ -93,7 +93,7 @@ function(gen_pkgconfig_vars) | ||
# Set the output variables | ||
string(REPLACE ";" " " cflags "${cflags}") | ||
string(REPLACE ";" " " private_libs "${private_libs}") | ||
- | ||
+ string(REPLACE "<$<COMPILE_LANGUAGE:CXX>:/utf-8>" "/utf-8" cflags "${cflags}") | ||
# Since CMake 3.18 FindThreads may include a generator expression requiring | ||
# a target, which gets propagated to us through INTERFACE_COMPILE_OPTIONS. | ||
# Before CMake 3.19 there's no way to solve this in a general way, so we |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
diff --git a/torch/csrc/distributed/c10d/socket.cpp b/torch/csrc/distributed/c10d/socket.cpp | ||
index 51ea05fa..3c3fbb39 100644 | ||
--- a/torch/csrc/distributed/c10d/socket.cpp | ||
+++ b/torch/csrc/distributed/c10d/socket.cpp | ||
@@ -29,6 +29,7 @@ | ||
|
||
#include <fmt/chrono.h> | ||
#include <fmt/format.h> | ||
+#include <fmt/ranges.h> | ||
|
||
#include <torch/csrc/distributed/c10d/error.h> | ||
#include <torch/csrc/distributed/c10d/exception.h> | ||
diff --git a/torch/csrc/profiler/standalone/execution_trace_observer.cpp b/torch/csrc/profiler/standalone/execution_trace_observer.cpp | ||
index 93d9e2d1..ea241a8b 100644 | ||
--- a/torch/csrc/profiler/standalone/execution_trace_observer.cpp | ||
+++ b/torch/csrc/profiler/standalone/execution_trace_observer.cpp | ||
@@ -10,6 +10,7 @@ | ||
#endif // _WIN32 | ||
|
||
#include <fmt/format.h> | ||
+#include <fmt/ranges.h> | ||
#include <algorithm> | ||
#include <chrono> | ||
#include <cmath> | ||
diff --git a/torch/csrc/profiler/util.cpp b/torch/csrc/profiler/util.cpp | ||
index 180555f9..1358c9ab 100644 | ||
--- a/torch/csrc/profiler/util.cpp | ||
+++ b/torch/csrc/profiler/util.cpp | ||
@@ -5,6 +5,7 @@ | ||
#include <c10/util/ArrayRef.h> | ||
#include <c10/util/irange.h> | ||
#include <fmt/format.h> | ||
+#include <fmt/ranges.h> | ||
|
||
#ifdef USE_KINETO | ||
#include <libkineto.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/include/saucer/serializers/glaze/glaze.inl b/include/saucer/serializers/glaze/glaze.inl | ||
index c0e1395..d704ed9 100644 | ||
--- a/include/saucer/serializers/glaze/glaze.inl | ||
+++ b/include/saucer/serializers/glaze/glaze.inl | ||
@@ -7,6 +7,7 @@ | ||
|
||
#include <fmt/args.h> | ||
#include <fmt/format.h> | ||
+#include <fmt/ranges.h> | ||
#include <source_location> | ||
|
||
#include <boost/callable_traits.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C b/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C | ||
index fa2719a..0a7cfff 100644 | ||
--- a/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C | ||
+++ b/packages/seacas/libraries/ioss/src/Ioss_Decomposition.C | ||
@@ -14,6 +14,7 @@ | ||
#include <algorithm> | ||
#include <cassert> | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
#include <numeric> | ||
|
||
#if !defined(NO_ZOLTAN_SUPPORT) | ||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C b/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C | ||
index ef20a45..faa7943 100644 | ||
--- a/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C | ||
+++ b/packages/seacas/libraries/ioss/src/Ioss_IOFactory.C | ||
@@ -11,6 +11,7 @@ | ||
#include <Ioss_Version.h> | ||
#include <cstddef> // for nullptr | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
#include <map> // for _Rb_tree_iterator, etc | ||
#include <ostream> // for basic_ostream, etc | ||
#include <set> | ||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C b/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C | ||
index 488d28a..0a1e5e2 100644 | ||
--- a/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C | ||
+++ b/packages/seacas/libraries/ioss/src/Ioss_StructuredBlock.C | ||
@@ -14,6 +14,7 @@ | ||
#include <Ioss_SmartAssert.h> | ||
#include <Ioss_StructuredBlock.h> | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
|
||
#include <cstddef> // for size_t | ||
#include <numeric> | ||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_Utils.C b/packages/seacas/libraries/ioss/src/Ioss_Utils.C | ||
index 241ff80..d234b8b 100644 | ||
--- a/packages/seacas/libraries/ioss/src/Ioss_Utils.C | ||
+++ b/packages/seacas/libraries/ioss/src/Ioss_Utils.C | ||
@@ -20,6 +20,7 @@ | ||
#include <fmt/chrono.h> | ||
#include <fmt/format.h> | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
#include <fstream> | ||
#include <sstream> | ||
#include <string> | ||
diff --git a/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C b/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C | ||
index 6888e17..f53c5e5 100644 | ||
--- a/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C | ||
+++ b/packages/seacas/libraries/ioss/src/Ioss_ZoneConnectivity.C | ||
@@ -8,6 +8,7 @@ | ||
#include <Ioss_ZoneConnectivity.h> | ||
#include <cstddef> // for size_t | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
#include <string> // for string | ||
#include <vector> // for vector | ||
|
||
diff --git a/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h b/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h | ||
index c486d69..b67a5c6 100644 | ||
--- a/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h | ||
+++ b/packages/seacas/libraries/ioss/src/heartbeat/Iohb_Layout.h | ||
@@ -9,6 +9,7 @@ | ||
#include "iohb_export.h" | ||
|
||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
#include <sstream> | ||
#include <string> | ||
#include <vector> | ||
diff --git a/packages/seacas/libraries/ioss/src/main/io_info.C b/packages/seacas/libraries/ioss/src/main/io_info.C | ||
index 53a162b..bcadb55 100644 | ||
--- a/packages/seacas/libraries/ioss/src/main/io_info.C | ||
+++ b/packages/seacas/libraries/ioss/src/main/io_info.C | ||
@@ -11,6 +11,7 @@ | ||
#define FMT_DEPRECATED_OSTREAM | ||
#include <fmt/format.h> | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
#if defined(SEACAS_HAVE_CGNS) | ||
#include <cgnslib.h> | ||
#endif | ||
diff --git a/packages/seacas/libraries/ioss/src/main/io_modify.C b/packages/seacas/libraries/ioss/src/main/io_modify.C | ||
index 50a217d..c01191b 100644 | ||
--- a/packages/seacas/libraries/ioss/src/main/io_modify.C | ||
+++ b/packages/seacas/libraries/ioss/src/main/io_modify.C | ||
@@ -58,6 +58,7 @@ | ||
#include <fmt/color.h> | ||
#include <fmt/format.h> | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
|
||
#if defined(SEACAS_HAVE_EXODUS) | ||
#include <exodus/Ioex_Internals.h> | ||
diff --git a/packages/seacas/libraries/ioss/src/main/sphgen.C b/packages/seacas/libraries/ioss/src/main/sphgen.C | ||
index f633d55..24c2e2f 100644 | ||
--- a/packages/seacas/libraries/ioss/src/main/sphgen.C | ||
+++ b/packages/seacas/libraries/ioss/src/main/sphgen.C | ||
@@ -14,6 +14,7 @@ | ||
#include <cstdlib> | ||
#include <cstring> | ||
#include <fmt/ostream.h> | ||
+#include <fmt/ranges.h> | ||
#include <iostream> | ||
#include <string> | ||
#include <vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/src/shogun/labels/BinaryLabelEncoder.h b/src/shogun/labels/BinaryLabelEncoder.h | ||
index 5bcd57e..69ed63e 100644 | ||
--- a/src/shogun/labels/BinaryLabelEncoder.h | ||
+++ b/src/shogun/labels/BinaryLabelEncoder.h | ||
@@ -14,6 +14,7 @@ | ||
#include <shogun/labels/LabelEncoder.h> | ||
#include <shogun/lib/SGVector.h> | ||
#include <unordered_set> | ||
+#include <fmt/ranges.h> | ||
namespace shogun | ||
{ | ||
/** @brief Implements a reversible mapping from | ||
diff --git a/src/shogun/labels/MulticlassLabelsEncoder.h b/src/shogun/labels/MulticlassLabelsEncoder.h | ||
index 41e9855..04151e4 100644 | ||
--- a/src/shogun/labels/MulticlassLabelsEncoder.h | ||
+++ b/src/shogun/labels/MulticlassLabelsEncoder.h | ||
@@ -13,6 +13,7 @@ | ||
#include <shogun/labels/LabelEncoder.h> | ||
#include <shogun/labels/MulticlassLabels.h> | ||
#include <shogun/lib/SGVector.h> | ||
+#include <fmt/ranges.h> | ||
|
||
namespace shogun | ||
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.