Paul Eggert wrote: > Let's treat C++ overloading like we already treat C _Generic, that is, > as a documented limitation of the substitute nullptr macro. This should > be good enough for Gnulib itself. I installed the attached to document > that, and to work around the Apple clang 14 incompatibility with it in mind.
It should also be good enough for real C++ packages such as groff and octave, which both use nullptr but not nullptr_t. > Yes, but all that's needed here is to implement Gnulib's limited > substitute well enough to work with Apple clang 14 and any other > compilers that have similar incompatibilities with current C++. It works fine. Clever. Thank you!! Thank you Arsen, for the proposal. I prefer Paul's approach because it avoids getting deeper and deeper into the C++ swamp of complicated inconsistencies. Bruno