boostorg / lockfree

Boost.Lockfree
125 stars 86 forks source link

error in tagged_ptr_dcas.hpp about BOOST_ALIGNMENT #80

Open gstvrmrlpz opened 2 years ago

gstvrmrlpz commented 2 years ago

include <boost/lockfree/detail/tagged_ptr_dcas.hpp>

int main() {}

/ [gustavo@casa bug]$ g++ stack.cc -o stack En el fichero incluido desde stack.cc:1: /usr/include/boost/lockfree/detail/tagged_ptr_dcas.hpp:30:17: error: expected unqualified-id before numeric constant 30 | BOOST_ALIGNMENT(2 sizeof(void)) | ^ /usr/include/boost/lockfree/detail/tagged_ptr_dcas.hpp:30:17: error: expected ‘)’ before numeric constant 30 | BOOST_ALIGNMENT(2 sizeof(void)) | ~^ | ) /