mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Disable "secure" warnings, take 2.
This commit is contained in:
parent
5b2a8842a4
commit
eb7cc675a6
@ -25,6 +25,9 @@
|
|||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Disable useless MSVC warnings.
|
||||||
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <cfloat>
|
#include <cfloat>
|
||||||
#include <climits>
|
#include <climits>
|
||||||
@ -41,9 +44,6 @@ using fmt::Formatter;
|
|||||||
using fmt::Format;
|
using fmt::Format;
|
||||||
using fmt::FormatError;
|
using fmt::FormatError;
|
||||||
|
|
||||||
// Disable useless MSVC warnings.
|
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
|
||||||
|
|
||||||
#define FORMAT_TEST_THROW_(statement, expected_exception, message, fail) \
|
#define FORMAT_TEST_THROW_(statement, expected_exception, message, fail) \
|
||||||
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
|
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
|
||||||
if (::testing::internal::ConstCharPtr gtest_msg = "") { \
|
if (::testing::internal::ConstCharPtr gtest_msg = "") { \
|
||||||
|
Loading…
Reference in New Issue
Block a user