2023-06-05 01:16:05 +02:00
|
|
|
/* SPDX-License-Identifier: MPL-2.0 */
|
2016-02-01 05:19:04 +01:00
|
|
|
|
|
|
|
/* This file is deprecated, and all its functionality provided by zmq.h */
|
2016-04-05 17:03:17 +02:00
|
|
|
/* Note that -Wpedantic compilation requires GCC to avoid using its custom
|
|
|
|
extensions such as #warning, hence the trick below. Also, pragmas for
|
|
|
|
warnings or other messages are not standard, not portable, and not all
|
|
|
|
compilers even have an equivalent concept.
|
|
|
|
So in the worst case, this include file is treated as silently empty. */
|
2016-02-18 10:27:21 +01:00
|
|
|
|
2016-04-05 17:03:17 +02:00
|
|
|
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) \
|
|
|
|
|| defined(_MSC_VER)
|
|
|
|
#if defined(__GNUC__) || defined(__GNUG__)
|
|
|
|
#pragma GCC diagnostic push
|
|
|
|
#pragma GCC diagnostic warning "-Wcpp"
|
|
|
|
#pragma GCC diagnostic ignored "-Werror"
|
|
|
|
#pragma GCC diagnostic ignored "-Wall"
|
|
|
|
#endif
|
2016-03-29 23:00:49 +02:00
|
|
|
#pragma message( \
|
|
|
|
"Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h.")
|
2016-04-05 17:03:17 +02:00
|
|
|
#if defined(__GNUC__) || defined(__GNUG__)
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
#endif
|
2016-03-29 23:00:49 +02:00
|
|
|
#endif
|