boostorg / boostorg/function_types

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

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9
Forks
42
PR merge metrics
No merged PRs in 30d

Description

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

thereafter I include

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

When I first include 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.

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.