Hi, A ROOT user [reports](https://root-forum.cern.ch/t/compile-root-with-apple-m1max/48664): ``` In file included from /Users/xin/onedrive/program/physics/tools/rootmax/XROOTD-prefix/src/XROOTD/src/XrdNet/XrdNetIF.cc:48: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/iostream:37: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/ios:215: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/__locale:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/string:511: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/string_view:179: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/__string:57: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/algorithm:653: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/memory:673: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/new:319:5: error: expected unqualified-id ::posix_memalign(&__result, __alignment, __size); ^ /Users/xin/onedrive/program/physics/tools/rootmax/XROOTD-prefix/src/XROOTD/src/./XrdSys/XrdSysPlatform.hh:126:9: note: expanded from macro 'posix_memalign' ((*memp = memalign(algn, sz)) ? 0 : ENOMEM) ^ ``` It seems - courageous to `#define` `posix_memalign` if the stdlib is using it itself? Cheers, Axel -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1611 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1