Announcement

Collapse
No announcement yet.

LLVM Clang 10 Can Build Over 95% Of The Debian Package Archive

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by mgadelha View Post
    Several FILE_NOT_FOUND errors are due to x11 headers relying on non-standard behaviour from gcc:

    https://clang.debian.net/status.php?...FILE_NOT_FOUND

    All the x11.rules errors happen because gcc removes /**/ when pre-processing, while clang replaces it with one space character ' ', as defined in the standard:

    C17 5.1.1.2p3: "Each comment is replaced by one space character. "
    C++17 [lex.phases]p3: "Each comment is replaced by one space character."
    ...what on earth. This is kinda terrible code and also has a really easy way to accomplish the same behavior in a standard compliant way (using multiple levels of indirection in the macros).

    Comment


    • #12
      Originally posted by mgadelha View Post
      Several FILE_NOT_FOUND errors are due to x11 headers relying on non-standard behaviour from gcc
      This issue has been known for many years: https://gitlab.freedesktop.org/xorg/util/imake/issues/1

      Comment

      Working...
      X