Re: [PATCH] Fix Xcode 16 build break with NULL != nullptr

2024-07-10 Thread Richard Biener
On Wed, Jul 10, 2024 at 9:00 AM wrote: > > From: Daniel Bertalan > > As of Xcode 16 beta 2 with the macOS 15 SDK, each re-inclusion of the > stddef.h header causes the NULL macro in C++ to be re-defined to an > integral constant (__null). This makes the workaround in d59a576b8 > ("Redefine NULL t

Re: [PATCH] Fix Xcode 16 build break with NULL != nullptr

2024-07-10 Thread Xi Ruoyao
On Wed, 2024-07-10 at 06:59 +, d...@danielbertalan.dev wrote: > diff --git a/gcc/value-pointer-equiv.cc b/gcc/value-pointer-equiv.cc > index bfc940ec9915..f8564536c308 100644 > --- a/gcc/value-pointer-equiv.cc > +++ b/gcc/value-pointer-equiv.cc > @@ -62,7 +62,7 @@ public: >  private: >    auto_