You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks like the code as written wants to implicitly load/store the atomic by coercing it to a bool, but the compiler is falling back to copy assignment for atomics which is deleted. it looks like the implicit load was deprecated (removed?) in C++ 20: https://en.cppreference.com/w/cpp/atomic/atomic/operator_T
to fix this, it might be possible to add explicit .load() and .store() calls. or, a std::atomic_flag could be used instead. i haven't tried any patches since i'm not familiar with the code.
The text was updated successfully, but these errors were encountered:
after fixing #2529, there is another build failure with clang 19. the same failure happens on macos and linux.
souffle/src/interpreter/Index.h
Lines 422 to 424 in 040a962
it looks like the code as written wants to implicitly load/store the atomic by coercing it to a bool, but the compiler is falling back to copy assignment for atomics which is deleted. it looks like the implicit load was deprecated (removed?) in C++ 20: https://en.cppreference.com/w/cpp/atomic/atomic/operator_T
to fix this, it might be possible to add explicit .load() and .store() calls. or, a std::atomic_flag could be used instead. i haven't tried any patches since i'm not familiar with the code.
The text was updated successfully, but these errors were encountered: