open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
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#endif