diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-08-14 11:01:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 08:01:02 -0700 |
commit | b5e306f7d89e82984a37824a3640bd67a5c45d61 (patch) | |
tree | a855c4f66ddf54c13f7ac2288606cb59d5dc3eac /indra/newview/lllogchat.cpp | |
parent | 31774e82c4c9ba2c1243fbc417174e966314dfca (diff) |
Enable /permissive- on MSVC for better standards conformance (#2251)
* Enable /permissive- on MSVC for better C++ conformance and fix related errors
* Clean up left over warning suppressions from old library or msvc versions
Diffstat (limited to 'indra/newview/lllogchat.cpp')
-rw-r--r-- | indra/newview/lllogchat.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp index 329fb881e3..bf49f33049 100644 --- a/indra/newview/lllogchat.cpp +++ b/indra/newview/lllogchat.cpp @@ -42,19 +42,7 @@ #include <boost/algorithm/string/trim.hpp> #include <boost/algorithm/string/replace.hpp> #include <boost/regex.hpp> - -#if LL_MSVC -#pragma warning(push) -// disable warning about boost::lexical_cast unreachable code -// when it fails to parse the string -#pragma warning (disable:4702) -#endif - #include <boost/date_time/gregorian/gregorian.hpp> -#if LL_MSVC -#pragma warning(pop) // Restore all warnings to the previous state -#endif - #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/local_time_adjustor.hpp> |