open62541pp
0.16.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
#ifdef __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
#endif
15
16
#ifdef _WIN32
17
// don't define min/max macros, that break the STL
18
#define NOMINMAX
19
#endif
Generated by
1.11.0