forked from PCSX2/pcsx2
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
40d5c78
commit bcb6822
Showing
32 changed files
with
9,229 additions
and
8,590 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
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,33 @@ | ||
#ifndef _C4_EXT_FAST_FLOAT_HPP_ | ||
#define _C4_EXT_FAST_FLOAT_HPP_ | ||
|
||
#if defined(_MSC_VER) && !defined(__clang__) | ||
# pragma warning(push) | ||
# pragma warning(disable: 4365) // '=': conversion from 'const _Ty' to 'fast_float::limb', signed/unsigned mismatch | ||
# pragma warning(disable: 4996) // snprintf/scanf: this function or variable may be unsafe | ||
#elif defined(__clang__) || defined(__APPLE_CC__) || defined(_LIBCPP_VERSION) | ||
# pragma clang diagnostic push | ||
# if (defined(__clang_major__) && (__clang_major__ >= 9)) || defined(__APPLE_CC__) | ||
# pragma clang diagnostic ignored "-Wfortify-source" | ||
# endif | ||
# pragma clang diagnostic ignored "-Wshift-count-overflow" | ||
# pragma clang diagnostic ignored "-Wold-style-cast" | ||
#elif defined(__GNUC__) | ||
# pragma GCC diagnostic push | ||
# pragma GCC diagnostic ignored "-Wnarrowing" | ||
# pragma GCC diagnostic ignored "-Wconversion" | ||
# pragma GCC diagnostic ignored "-Wuseless-cast" | ||
# pragma GCC diagnostic ignored "-Wold-style-cast" | ||
#endif | ||
|
||
#include "c4/ext/fast_float_all.h" | ||
|
||
#ifdef _MSC_VER | ||
# pragma warning(pop) | ||
#elif defined(__clang__) || defined(__APPLE_CC__) | ||
# pragma clang diagnostic pop | ||
#elif defined(__GNUC__) | ||
# pragma GCC diagnostic pop | ||
#endif | ||
|
||
#endif // _C4_EXT_FAST_FLOAT_HPP_ |
Oops, something went wrong.