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: unassignedclangb...@nondot.org
          Reporter: vincent-l...@vinc17.net
                CC: craig.top...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to