Fix gcc warnings.
This commit is contained in:
parent
a07b0e5953
commit
eb140fd30f
3 changed files with 6 additions and 0 deletions
2
src/3rdparty/jansson/dump.c
vendored
2
src/3rdparty/jansson/dump.c
vendored
|
@ -5,7 +5,9 @@
|
|||
* it under the terms of the MIT license. See LICENSE for details.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4090)
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
|
2
src/3rdparty/jansson/hashtable.c
vendored
2
src/3rdparty/jansson/hashtable.c
vendored
|
@ -5,7 +5,9 @@
|
|||
* it under the terms of the MIT license. See LICENSE for details.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4334)
|
||||
#endif
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include <jansson_private_config.h>
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4244)
|
||||
#endif
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <memory>
|
||||
|
|
Loading…
Reference in a new issue