Bug#1009361: Unchecked use of __BIG_ENDIAN__ leads to an error
Petter Reinholdtsen
pere at hungry.com
Thu Aug 3 08:33:09 BST 2023
[Pierre Gruet]
> because, else, we get errors like the one I just met in a program including the
> above-named header file:
>
> /usr/include/tbb/machine/gcc_generic.h:39:20: error: operator '||' has no left operand
> 39 | #if __BIG_ENDIAN__ || (defined(__BYTE_ORDER__) && __BYTE_ORDER__==__ORDER_BIG_ENDIAN__)
> | ^~
Is this still a problem? I looked for __BIG_ENDIAN__ in the entire
source tree in git (grep -rl __BIG_ENDIAN__ .), and could not find it.
--
Happy hacking
Petter Reinholdtsen
More information about the debian-science-maintainers
mailing list