Bug#913213: libclang-common-7-dev: /usr/lib/llvm-7/lib/clang/7.0.1/include/limits.h is invalid (nbsp character)

Sylvestre Ledru sylvestre at debian.org
Thu Nov 8 08:52:08 GMT 2018


Le 08/11/2018 à 09:48, Vincent Lefevre a écrit :
> On 2018-11-08 09:31:43 +0100, Sylvestre Ledru wrote:
>> Le 08/11/2018 à 09:17, Vincent Lefevre a écrit :
>>> Package: libclang-common-7-dev
>>> Version: 1:7.0.1~+rc2-1
>>> Severity: grave
>>> Tags: upstream
>>> Forwarded: https://bugs.llvm.org/show_bug.cgi?id=39585
>>> Justification: renders package unusable
>>>
>>> /usr/lib/llvm-7/lib/clang/7.0.1/include/limits.h contains
>>>
>>> #if !defined(__CLANG_LIMITS_H) || !defined(_LIBC_LIMITS_H_)
>>>
>>> where the character after "||" is a no-break space (U+00A0).
>> My bad. I am buildng a new version with the fix.
> 
> BTW, isn't there a "make check" step to detect this kind of bugs
> (or is the llvm testsuite incomplete)?
It has been detected during the clang check but I don't fail the build in case of failure
(I would not have the bandwidth to manage that)

--
In file included from /<<BUILDDIR>>/llvm-toolchain-7-7.0.1~+rc2/clang/test/Preprocessor/clang_headers.c:3:
/<<BUILDDIR>>/llvm-toolchain-7-7.0.1~+rc2/build-llvm/tools/clang/stage2-bins/lib/clang/7.0.1/include/limits.h:25:34: error: invalid token at start of a preprocessor expression
#if !defined(__CLANG_LIMITS_H) || !defined(_LIBC_LIMITS_H_)
                                 ^
1 error generated.
S



More information about the Pkg-llvm-team mailing list