[all-commits] [llvm/llvm-project] db67e6: [libc++] Fix -Wgnu-include-next in stddef.h (#88214)
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Apr 16 14:37:41 PDT 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: db67e6fb9ad150f18cf9941405746a8400b60545
https://github.com/llvm/llvm-project/commit/db67e6fb9ad150f18cf9941405746a8400b60545
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-04-16 (Tue, 16 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
(cherry picked from commit 3c4b673af05f53e8a4d1a382b5c86367ea512c9e)
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