How to solve clang conflict on macOS 14.4?


_ROOT Version:6.31.01
_Platform: mac os 14.4


Recently, I upgrade to macOS 14.4 met some problem

In file included from /opt/homebrew/include/boost/iostreams/filtering_streambuf.hpp:17:
In file included from /opt/homebrew/include/boost/iostreams/chain.hpp:36:
In file included from /opt/homebrew/include/boost/shared_ptr.hpp:17:
In file included from /opt/homebrew/include/boost/smart_ptr/shared_ptr.hpp:18:
In file included from /opt/homebrew/include/boost/smart_ptr/detail/shared_count.hpp:26:
In file included from /opt/homebrew/include/boost/smart_ptr/detail/sp_counted_base.hpp:40:
/opt/homebrew/include/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp:65:30: error: expected parameter declarator
inline boost::uint_least32_t atomic_load( boost::uint_least32_t const * pw )
                             ^
/Users/chenxu/software/ROOT/build/etc/cling/lib/clang/16/include/stdatomic.h:133:55: note: expanded from macro 'atomic_load'
#define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST)
                                                      ^
<built-in>:18:26: note: expanded from macro '__ATOMIC_SEQ_CST'
#define __ATOMIC_SEQ_CST 5

Is that a clang problem or boost on Mac problem?

Hi,

Could you perhaps clarify how ROOT is involved in this issue?

Thanks a lot in advance!

Best,
D

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.