[all-commits] [llvm/llvm-project] c3ac3f: [OpenMP] Fix redefining `stdint.h` types (#108607)

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Sep 13 11:23:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3ac3fe8259b4ae85736ca81fa30e4098123e0b4
      https://github.com/llvm/llvm-project/commit/c3ac3fe8259b4ae85736ca81fa30e4098123e0b4
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M offload/DeviceRTL/CMakeLists.txt
    M offload/DeviceRTL/include/DeviceTypes.h
    M offload/include/Shared/Environment.h
    R offload/include/Shared/Types.h
    M offload/include/Shared/Utils.h

  Log Message:
  -----------
  [OpenMP] Fix redefining `stdint.h` types (#108607)

Summary:
We can include `stdint.h` just fine as long as we don't allow it to find
system headers, passing `-nostdlibinc` and `-nogpuinc` suppresses these
extra paths so we will just use the clang resource headers for
`stdint.h` and `stddef.h`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list