Added lacked include files.
Added a test.
Added MSVC build settings on appveyor.
Added old MSVC workaround.
Fixed a variable definition point to meet ANSI-C.
This commit is contained in:
Takatoshi Kondo
2016-05-13 18:51:53 +09:00
parent 068041f05e
commit e6f82cf2bb
12 changed files with 82 additions and 33 deletions

View File

@@ -185,6 +185,8 @@ TEST(MSGPACKC, simple_buffer_int64)
GEN_TEST_SIGNED(int64_t, int64);
}
#if !defined(_MSC_VER) || _MSC_VER >=1800
TEST(MSGPACKC, simple_buffer_float)
{
vector<float> v;
@@ -315,6 +317,8 @@ TEST(MSGPACKC, simple_buffer_double)
}
}
#endif // !defined(_MSC_VER) || _MSC_VER >=1800
TEST(MSGPACKC, simple_buffer_nil)
{
msgpack_sbuffer sbuf;