-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
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,20 @@ | ||
diff --git a/include/fmt/base.h b/include/fmt/base.h | ||
index 62764942..b61c2776 100644 | ||
--- a/include/fmt/base.h | ||
+++ b/include/fmt/base.h | ||
@@ -464,6 +464,7 @@ template <typename Char> FMT_CONSTEXPR auto length(const Char* s) -> size_t { | ||
return len; | ||
} | ||
|
||
+#pragma nv_diag_suppress 128 | ||
template <typename Char> | ||
FMT_CONSTEXPR auto compare(const Char* s1, const Char* s2, std::size_t n) | ||
-> int { | ||
@@ -474,6 +475,7 @@ FMT_CONSTEXPR auto compare(const Char* s1, const Char* s2, std::size_t n) | ||
} | ||
return 0; | ||
} | ||
+#pragma nv_diag_default 128 | ||
|
||
namespace adl { | ||
using namespace std; |
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