Your message dated Fri, 4 Aug 2023 00:07:36 +0200
with message-id <[email protected]>
and subject line Re: Unchecked use of __BIG_ENDIAN__ leads to an error
has caused the Debian Bug report #1009361,
regarding Unchecked use of __BIG_ENDIAN__ leads to an error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1009361: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009361
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 2021.5.0-5

Hi Petter,

Le 03/08/2023 à 09:33, Petter Reinholdtsen a écrit :
[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.

Thanks for looking at this issue. I feel it got fixed when libtbb-dev began being built from src:onetbb instead of src:tbb. Anyway, my code generating the error in the initial message of this thread is building successfully now. I take the opportunity to close the bug with the right version number.

Again, thanks,

Cheers,

--
Pierre

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to