zmq_utils.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 /* This file is deprecated, and all its functionality provided by zmq.h */
4 /* Note that -Wpedantic compilation requires GCC to avoid using its custom
5  extensions such as #warning, hence the trick below. Also, pragmas for
6  warnings or other messages are not standard, not portable, and not all
7  compilers even have an equivalent concept.
8  So in the worst case, this include file is treated as silently empty. */
9 
10 #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) \
11  || defined(_MSC_VER)
12 #if defined(__GNUC__) || defined(__GNUG__)
13 #pragma GCC diagnostic push
14 #pragma GCC diagnostic warning "-Wcpp"
15 #pragma GCC diagnostic ignored "-Werror"
16 #pragma GCC diagnostic ignored "-Wall"
17 #endif
18 #pragma message( \
19  "Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h.")
20 #if defined(__GNUC__) || defined(__GNUG__)
21 #pragma GCC diagnostic pop
22 #endif
23 #endif


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:02