[all-commits] [llvm/llvm-project] ff1681: [Support] Add missing <cstdint> header to Signals.h

Sergei Trofimovich via All-commits all-commits at lists.llvm.org
Mon May 23 00:49:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff1681ddb303223973653f7f5f3f3435b48a1983
      https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983
  Author: Sergei Trofimovich <slyich at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M llvm/include/llvm/Support/Signals.h

  Log Message:
  -----------
  [Support] Add missing <cstdint> header to Signals.h

Without the change llvm build fails on this week's gcc-13 snapshot as:

    [  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
    In file included from llvm/lib/Support/Signals.cpp:14:
    llvm/include/llvm/Support/Signals.h:119:8: error: variable or field 'CleanupOnSignal' declared void
      119 |   void CleanupOnSignal(uintptr_t Context);
          |        ^~~~~~~~~~~~~~~


  Commit: 5e9be93566f39ee6cecd579401e453eccfbe81e5
      https://github.com/llvm/llvm-project/commit/5e9be93566f39ee6cecd579401e453eccfbe81e5
  Author: Sergei Trofimovich <slyich at gmail.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M llvm/include/llvm/Support/Base64.h

  Log Message:
  -----------
  [Support] Add missing <cstdint> header to Base64.h

Without the change llvm build fails on this week's gcc-13 snapshot as:

    [ 91%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/Base64Test.cpp.o
    In file included from llvm/unittests/Support/Base64Test.cpp:14:
    llvm/include/llvm/Support/Base64.h: In function 'std::string llvm::encodeBase64(const InputBytes&)':
    llvm/include/llvm/Support/Base64.h:29:5: error: 'uint32_t' was not declared in this scope
       29 |     uint32_t x = ((unsigned char)Bytes[i] << 16) |
          |     ^~~~~~~~


Compare: https://github.com/llvm/llvm-project/compare/96fba640cf58...5e9be93566f3


More information about the All-commits mailing list