mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-14 23:07:58 +02:00
Added -Wconversion support for C++.
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
#include <msgpack.hpp>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
TEST(json, basic_elements)
|
||||
{
|
||||
typedef std::map<std::string, int> map_s_i;
|
||||
|
Reference in New Issue
Block a user