mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-13 22:50:19 +02:00
Fixed #534.
Added conditional [[deprecated]] attribute. Updated zlib version.
This commit is contained in:
@@ -78,7 +78,14 @@ TEST(streaming, basic_pointer)
|
||||
|
||||
pac.buffer_consumed(len);
|
||||
|
||||
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
|
||||
while(pac.next(&oh)) {
|
||||
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif // (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
|
||||
msgpack::object obj = oh.get();
|
||||
switch(count++) {
|
||||
case 0:
|
||||
|
Reference in New Issue
Block a user