[Bug 276104] [exp-run] Against llvm-18-update branch on GitHub
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 276104] [exp-run] Against llvm-18-update branch on GitHub"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Apr 2024 10:34:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276104
--- Comment #91 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=905954429d1f6ccebb287379b66e1b58051be889
commit 905954429d1f6ccebb287379b66e1b58051be889
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-02-05 11:41:51 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-19 21:14:15 +0000
[libc++] Rename __bit_reference template parameter to avoid conflict
As of 4d20cfcf4eb08217ed37c4d4c38dc395d7a66d26, `__bit_reference`
contains a template `__fill_n` with a bool `_FillValue` parameter.
Unfortunately there is a relatively widely used piece of scientific
software called NetCDF, which exposes a (C) macro `_FillValue` in its
public headers.
When building the NetCDF C++ bindings, this quickly leads to compilation
errors when the macro interferes with the template in `__bit_reference`.
Rename the parameter to `_FillVal` to avoid the conflict.
PR: 276104
MFC after: 1 month
(cherry picked from commit 868ee3f2855615016ba87c14b9444c18a2e1ba30)
contrib/llvm-project/libcxx/include/__bit_reference | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.