boostorg / boostorg/lockfree

compilation error using tagged_ptr_dcas.hpp

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
160
Forks
99
PR merge metrics
No merged PRs in 30d

Description

this code...

#include

int main(int argc, char **argv)
{
int i = argc;
return i;
}

generate this error...

[gustavo@casa c++]$ g++ boost.cc -o boost
En el fichero incluido desde boost.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*))
| ~^
| )

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.