[llvm-bugs] [Bug 39585] New: .../llvm-7/lib/clang/7.0.1/include/limits.h is invalid: no-break space character

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 8 00:14:06 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39585

            Bug ID: 39585
           Summary: .../llvm-7/lib/clang/7.0.1/include/limits.h is
                    invalid: no-break space character
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vincent-llvm at vinc17.net
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Under Debian/unstable:

$ echo '#include <limits.h>' | clang-7 -E -
In file included from <stdin>:1:
/usr/lib/llvm-7/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 "<stdin>"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 349 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "<stdin>" 2
# 1 "/usr/lib/llvm-7/lib/clang/7.0.1/include/limits.h" 1 3
# 2 "<stdin>" 2

1 error generated.

This is due to a no-break space character (U+00A0) after "||", instead of a
usual normal space.

This makes GNU MPFR testing fail.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181108/e0e84f32/attachment-0001.html>


More information about the llvm-bugs mailing list