open62541pp
0.19.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
include
open62541pp
detail
open62541
push_options.h
Go to the documentation of this file.
1
// no include guard
2
3
#if defined(__GNUC__)
4
// ignore compile warnings of open62541:
5
// - missing initializer for member ‘UA_NodeId::identifier’
6
// - missing initializer for member ‘UA_ExpandedNodeId::namespaceUri’
7
// - missing initializer for member ‘UA_ExpandedNodeId::serverIndex’
8
// - suggest braces around initialization of subobject [-Wmissing-braces]
9
// UA_ExpandedNodeId id = {0}; id.nodeId = nodeId; return id;
10
#pragma GCC diagnostic push
11
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
12
#pragma GCC diagnostic ignored "-Wmissing-braces"
13
#pragma GCC diagnostic ignored "-Wunused-parameter"
14
#elif defined(_MSC_VER) && !defined(__clang__)
15
#pragma warning(push)
16
#pragma warning(disable : 4100)
// unreferenced formal parameter
17
#endif
18
19
#if defined(_WIN32) && !defined(NOMINMAX)
20
// don't define min/max macros, that break the STL
21
#define NOMINMAX
22
#endif
Generated by
1.9.8