Skip to content

BOOST_FT_AUTODETECT_CALLING_CONVENTIONS ignored when including <boost/uuid/random_generator.hpp> #7

@tobias-loew

Description

@tobias-loew

Hi,

I' ve got a project which uses Boost.UUID and function_types.
When compiling for Windows-x86 I define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS before including
<boost/uuid/random_generator.hpp>
thereafter I include
<boost/function_types/config/config.hpp>

but then "boost::function_types::stdcall_cc" is not defined.
There seems to be a problem with the define/undef of the macro "callable_builtin" in <boost/function_types/detail/encoding/aliases_[un]def.hpp>

When I first include <boost/function_types/config/config.hpp>the type "boost::function_types::stdcall_cc" is defined.
I'm not sure if the define/undef of the macro "callable_builtin" could even violate ODR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions