That's outstanding, thanks again for sharing your config! Thanks Jim for the Apple fix.
Since we didn't see your environment as Darwin, it was treated as a generic BSD. Which, still should have worked, but we clearly have a flaw on BSD environments in general, as Stefan has reported. Brings me back to the question, Stefan could you share your config.log/config.status, and resulting app.h file, so I can diagnose the misassumption here? On Fri, Mar 15, 2019, 06:44 wuzhouhui <wuzhouhu...@mails.ucas.ac.cn> wrote: > > > On Mar 15, 2019, at 8:02 AM, Jim Jagielski <j...@jagunet.com> wrote: > > > > Yeppers. It's because gcc for Homebrew still sets DARWIN automatically > whereas for clang (Xcode), the canon macro is now __APPLE__ > > > > I've updated all APR's to be aware of __APPLE__ and, if set, it auto > defines DARWIN and DARWIN_10 in apr.h > > > > This should fix the issues w/ all compilers. > > I patch apr-1.6.5 with r1855560 that jim committed, and no warning > produced. > >