Skip to content

error in tagged_ptr_dcas.hpp about BOOST_ALIGNMENT #80

@gstvrmrlpz

Description

@gstvrmrlpz

#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*))
| ~^
| )
*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions