Package: libtbb-dev
Version: 2022.3-1
Severity: normal
Dear Maintainer,
libtbb-dev installs the file /usr/include/tbb/machine/gcc_generic.h, of which
line 39 reads:
#if __BIG_ENDIAN__ || (defined(__BYTE_ORDER__) &&
__BYTE_ORDER__==__ORDER_BIG_ENDIAN__)
I think it should instead start with something like
#if defined(__BIG_ENDIAN__)...
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__)
| ^~
Thanks a lot for considering,
Best regards,
--
Pierre
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers