Opened 13 years ago

Closed 12 years ago

#4094 closed Bugs (fixed)

BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS versus is_unary_or_binary_function_impl

Reported by: vziegler@… Owned by: Ion Gaztañaga
Milestone: Boost 1.43.0 Component: intrusive
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

With _MSC_EXTENSIONS, intrusive/detail/mpl.hpp defines both

is_unary_or_binary_function_impl<R (*)(T0)>

is_unary_or_binary_function_impl<R (stdcall*)(T0)>

which will raise a compiler error. The fist definition should be disabled via preprocessor if defined(BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS) and class templates for cdecl and fastcall should be added instead.

Find a patch attached (boost 1.42.0).

Regards, Valentin

Attachments (1)

mpl.hpp.patch (4.4 KB ) - added by vziegler@… 13 years ago.
patch for 1.42.0 intrusive/detail/mpl.hpp

Download all attachments as: .zip

Change History (2)

by vziegler@…, 13 years ago

Attachment: mpl.hpp.patch added

patch for 1.42.0 intrusive/detail/mpl.hpp

comment:1 by Ion Gaztañaga, 12 years ago

Resolution: fixed
Status: newclosed

Patch was applied long ago but bug was not fixed.

Note: See TracTickets for help on using tickets.