GNU bug report logs - #42702
catch2 fails to build on non x86_64 systems

Previous Next

Package: guix;

Reported by: maxim.cournoyer <at> gmail.com

Date: Mon, 3 Aug 2020 18:23:02 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: maxim.cournoyer <at> gmail.com
Cc: 42702 <at> debbugs.gnu.org
Subject: bug#42702: catch2 build failure on ARM
Date: Tue, 4 Aug 2020 01:09:28 +0200
[Message part 1 (text/plain, inline)]
Hi Maxim,

On Mon, 03 Aug 2020 14:22:21 -0400
maxim.cournoyer <at> gmail.com wrote:

>      } else if ('\0' <= value && value < ' ') {
>                 ~~~~~^~~~~~~~

I think that this tries to find non-printable characters, so those with ASCII
codes 0 < value < 32 and 128 < value < 255.  But char is unsigned on ARM, so
it won't do that with the code above.  Therefore, this IS an error and treating
it as a warning would be very, very, bad.
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 4 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.