Gnulib's ieee754.h defines __LITTLE_ENDIAN and __BIG_ENDIAN, which are
redundantly defined in another header in this release of the NDK, to
wit, sys/endian.h, and conflicts with this definition when both are
included by the same unit.  Attached is one example of a warning message
reporting such a conflict.

In file included from /home/expurgated/emacs-dev/emacs-android/src/print.c:43:
../lib/ieee754.h:39:11: warning: '__LITTLE_ENDIAN' macro redefined
      [-Wmacro-redefined]
#  define __LITTLE_ENDIAN       1234
          ^
/home/expurgated/android-ndk-r26-linux/android-ndk-r26/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/sys/endian.h:39:9:
 note: 
      previous definition is here
#define __LITTLE_ENDIAN _LITTLE_ENDIAN

Thanks.

Reply via email to