Skip to content

Commit

Permalink
Reference github issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Feb 3, 2025
1 parent 761ac63 commit f7c8ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/include/Ice/StreamHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include <ostream>

#if defined(_MSC_VER)
// With MSVC, __has_include(<span>) evaluates to 1 in c++17 mode and the <span> header then issues a warning. This
// is a permissible but impractical behavior. As a result, we include <span> only for c++20 or higher.
// With MSVC, __has_include(<span>) evaluates to 1 in c++17 mode and the <span> header then issues a warning that can't
// be disabled. This is a permissible but impractical behavior. See https://github.com/microsoft/STL/issues/4010.
# if _MSVC_LANG >= 202002L
# include <span>
# endif
Expand Down

0 comments on commit f7c8ee2

Please sign in to comment.