1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QOPEN62541_H
5#define QOPEN62541_H
6#include <QtCore/qglobal.h>
7
8#if defined(_MSC_VER)
9#pragma warning(push)
10#pragma warning(disable: 4100) // unused variable
11#elif defined(__GNUC__) //includes mingw
12#pragma GCC diagnostic push
13#pragma GCC diagnostic ignored "-Wunused-parameter"
14#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
15#pragma GCC diagnostic ignored "-Wmissing-braces"
16#elif defined(__clang__)
17#pragma clang diagnostic push
18#pragma clang diagnostic ignored "-Wunused-parameter"
19#endif
20
21#include <open62541.h>
22
23#if defined(_MSC_VER)
24#pragma warning(pop)
25#elif defined(__GNUC__)
26#pragma GCC diagnostic pop
27#elif defined(__clang__)
28#pragma clang diagnostic pop
29#endif
30
31#endif // QOPEN62541_H
32

source code of qtopcua/src/plugins/opcua/open62541/qopen62541.h