[all-commits] [llvm/llvm-project] 3c4b67: [libc++] Fix -Wgnu-include-next in stddef.h (#88214)

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Apr 11 09:37:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c4b673af05f53e8a4d1a382b5c86367ea512c9e
      https://github.com/llvm/llvm-project/commit/3c4b673af05f53e8a4d1a382b5c86367ea512c9e
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M libcxx/include/stddef.h

  Log Message:
  -----------
  [libc++] Fix -Wgnu-include-next in stddef.h (#88214)

As reported in #86843, we must have #pragma GCC system_header before we
use #include_next, otherwise the compiler may not understand that we're
in a system header and may issue a diagnostic for our usage of



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