From 3f51fb011ccb5cc3697f23477ecb7b65b75f5a1a Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Mon, 19 Aug 2019 11:23:49 +0200 Subject: Fix compile errors for open62541 Task-number: QTBUG-77667 Change-Id: I99bcf7b3ac0de26174ce6d5f6fa2221c54dd4bd2 Reviewed-by: Jani Heikkinen --- src/3rdparty/open62541.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/3rdparty/open62541.pri b/src/3rdparty/open62541.pri index 9d101f7..fa753c7 100644 --- a/src/3rdparty/open62541.pri +++ b/src/3rdparty/open62541.pri @@ -8,7 +8,7 @@ win32-g++: LIBS += -lws2_32 win32-msvc|winrt: { SOURCES += $$OPEN62541_SOURCES } else { - OPEN62541_CFLAGS += -Wno-unused-parameter -Wno-unused-function -Wno-incompatible-pointer-types -Wno-format + OPEN62541_CFLAGS += -Wno-unused-parameter -Wno-unused-function -Wno-incompatible-pointer-types -Wno-format -std=c99 # The open62541 source code produces lots of warnings. # This custom compiler will disable these warnings just for open62541.c -- cgit v1.2.3