[all-commits] [llvm/llvm-project] 9282c9: [libc++] Avoid name conflict with declaration in <...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Sep 13 06:18:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9282c9d282e8062965f20d4ef89324cc96b92447
https://github.com/llvm/llvm-project/commit/9282c9d282e8062965f20d4ef89324cc96b92447
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
Log Message:
-----------
[libc++] Avoid name conflict with declaration in <unistd.h>
It appears that ::link is also declared as another kind of symbol
in <unistd.h>, which we seem to get transitively when we start using
a single top-level module. Instead of declaring these names as global
extern variables, use function parameters to achieve the same thing.
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