help-debbugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#42702: closed (Re: bug#42702: catch2 build failure on ARM)


From: Maxim Cournoyer
Subject: Re: bug#42702: closed (Re: bug#42702: catch2 build failure on ARM)
Date: Sun, 23 Aug 2020 23:27:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

[...]

> From: Efraim Flashner <efraim@flashner.co.il>
> Subject: Re: bug#42702: catch2 build failure on ARM
> To: maxim.cournoyer@gmail.com
> Cc: 42702-done@debbugs.gnu.org
> Date: Tue, 4 Aug 2020 10:44:32 +0300 (2 weeks, 5 days, 19 hours ago)
>
> On Mon, Aug 03, 2020 at 02:22:21PM -0400, maxim.cournoyer@gmail.com wrote:
>> On ARM systems, (armhf-linux, aarch64-linux), the catch2 package fails to 
>> build, due to a
>> compilation warning treated as an error:
>> 
>> [ 90%] Building CXX object 
>> CMakeFiles/SelfTest.dir/include/reporters/catch_reporter_xml.cpp.o
>> /gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/c++   
>> -I/tmp/guix-build-catch2-2.1.2.drv-0/source/include  -O2 -g -DNDEBUG   -Wall 
>> -Wextra -Wunreachable-code -Wpedantic -Werror -std=c++11 -o 
>> CMakeFiles/SelfTest.dir/include/reporters/catch_reporter_xml.cpp.o -c 
>> /tmp/guix-build-catch2-2.1.2.drv-0/source/include/reporters/catch_reporter_xml.cpp
>> /tmp/guix-build-catch2-2.1.2.drv-0/source/include/internal/catch_tostring.cpp:
>>  In static member function ‘static std::__cxx11::string 
>> Catch::StringMaker<char>::convert(char)’:
>> /tmp/guix-build-catch2-2.1.2.drv-0/source/include/internal/catch_tostring.cpp:202:21:
>>  error: comparison is always true due to limited range of data type 
>> [-Werror=type-limits]
>>      } else if ('\0' <= value && value < ' ') {
>>                 ~~~~~^~~~~~~~
>
> Fixed in 7f101e7ceb869882b9a959cb7801aea64c26704d
>
> Do note that this breaks libfive, which has no dependants.

Thank you for fixing it! :-)

Maxim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]