Open capital-hub opened 2 years ago
I've got the same issue on Kubuntu 20.04
I've seen such issues elsewhere when #include "config.h"
is not
effectively the first in stack, so system defaults take precedence when
first encountered with system headers parsed first. Check if that matches?
On Sat, Nov 20, 2021, 23:55 Charlie Wilkin @.***> wrote:
I've got the same issue on Kubuntu 20.04
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zeromq/libzmq/issues/4289#issuecomment-974723047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMPTFDD7ENV2VMRYZL6OD3UNARPDANCNFSM5GZR6WWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
/opt/android/libzmq/doc' make[1]: Nothing to be done for
all'. make[1]: Leaving directory/opt/android/libzmq/doc' make[1]: Entering directory
/opt/android/libzmq' CXX tools/curve_keygen.o CXX src/libzmq_la-address.lo In file included from src/address.cpp:30: In file included from ./src/precompiled.hpp:57: In file included from ./src/../include/zmq.h:56: In file included from /opt/android/toolchain/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../include/c++/4.9.x/errno.h:26: In file included from /opt/android/toolchain/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../include/c++/4.9.x/__config:169: In file included from /opt/android/toolchain/bin/../sysroot/usr/include/features.h:33: /usr/include/x86_64-linux-gnu/sys/cdefs.h:41:6: error: function-like macro '__GNUC_PREREQ' is not definedif __GNUC_PREREQ (4, 6) && !defined _LIBC
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:54:30: error: function-like macro '__GNUC_PREREQ' is not defined
if !defined cplusplus && GNUC_PREREQ (3, 3)
/usr/include/x86_64-linux-gnu/sys/cdefs.h:60:30: error: function-like macro '__GNUC_PREREQ' is not defined
if defined cplusplus && GNUC_PREREQ (2,8)
/usr/include/x86_64-linux-gnu/sys/cdefs.h:126:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (4,3)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:145:7: error: function-like macro '__GNUC_PREREQ' is not defined
elif __GNUC_PREREQ (2,97)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:207:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (2,96)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:215:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (4, 3)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:225:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (2,96)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:232:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (2,5)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:241:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (3,1)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:250:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (3,2)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:259:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (4,5) \
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:273:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (2,8)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:283:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (2,97)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:292:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (3,3)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:300:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (3,4)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:314:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (3,2)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:327:5: error: function-like macro '__GNUC_PREREQ' is not defined
if __GNUC_PREREQ (4,3)
^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:342:30: error: function-like macro '__GNUC_PREREQ' is not defined
if (!defined cplusplus || GNUC_PREREQ (4,3) \
fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: [src/libzmq_la-address.lo] Error 1 make[1]: Leaving directory `/opt/android/libzmq' make: [all-recursive] Error 1