Skip to content
Unverified Commit 1ec25229 authored by Dimitry Andric's avatar Dimitry Andric Committed by GitHub
Browse files

[libc++] Rename __bit_reference template parameter to avoid conflict (#80661)

As of 4d20cfcf, `__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.
parent 29d47513
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment