BOOST_FT_AUTODETECT_CALLING_CONVENTIONS ignored when including <boost/uuid/random_generator.hpp>
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the Windows-x86 include sequence using <boost/uuid/random_generator.hpp> followed by <boost/function_types/config/config.hpp>, with BOOST_FT_AUTODETECT_CALLING_CONVENTIONS defined first. Inspect boost/function_types/detail/encoding/aliases_[un]def.hpp and the handling of callable_builtin. Done means boost::function_types::stdcall_cc remains defined for this include order and the reported compilation succeeds.
Written by the indexing model from the issue text.
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
<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.
- Dominant language
- C++
- Stars
- 9
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/function_types
-
"..." ellipsis operator is generating warnings in C++ >= 26: -Wdeprecated-variadic-comma-omission Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
boostorg/function_types#16 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
boostorg/function_types#13 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
boostorg/function_types#5 · 1 comment ·
All issues in boostorg/function_types
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100