Boost logo

Boost :

Subject: Re: [boost] [scope_exit] capture list syntax for scope_exit and local_function
From: Richard Webb (richard.webb_at_[hidden])
Date: 2009-01-16 07:51:22


Alexander Nasonov wrote:
>
> Alexander Nasonov <alnsn <at> yandex.ru> writes:
>
> I appreciate if people can run regression tests, especially on Windows
> because I don't use Windows at the moment.
>
>

I just tried manually running the tests with VC9, and got a bunch of errors.
for example:

native.cpp
using native typeof
native.cpp(38) : warning C4003: not enough actual parameters for macro
'BOOST_PP_SEQ_ELEM_0'
native.cpp(38) : error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int
native.cpp(38) : error C2513: 'int' : no variable declared before '='
native.cpp(38) : error C2146: syntax error : missing ';' before identifier
'boost_se_capture_t_0_38'
native.cpp(38) : error C2065: 'boost_se_capture_t_0_38' : undeclared
identifier
native.cpp(38) : error C2146: syntax error : missing ';' before identifier
'boost_se_param_t_0_38'
native.cpp(38) : error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int
native.cpp(38) : error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int
native.cpp(38) : error C2065: 'boost_se_param_t_0_38' : undeclared
identifier
native.cpp(38) : error C2079:
'test_non_local::boost_se_params_t_38::boost_se_param_0_38' uses undefined
struct 'boost::scope_exit::aux::member'
native.cpp(38) : error C2061: syntax error : identifier
'boost_se_param_t_0_38'
native.cpp(38) : error C2664:
'test_non_local::boost_se_params_t_38::test_non_local::boost_se_params_t_38(const
test_non_local::boost_se_params_t_38 &)' : cannot convert parameter 1 from
'int' to 'const test_non_local::boost_se_params_t_38 &'
        Reason: cannot convert from 'int' to 'const
test_non_local::boost_se_params_t_38'
        No constructor could take the source type, or constructor overload
resolution was ambiguous
native.cpp(38) : error C2039: 'boost_se_param_t_0_38' : is not a member of
'test_non_local::boost_se_params_t_38'
        native.cpp(38) : see declaration of
'test_non_local::boost_se_params_t_38'
native.cpp(38) : error C2061: syntax error : identifier
'boost_se_param_t_0_38'

Theres quite a lot of errors, as well as a lot of
"warning C4003: not enough actual parameters for macro
'BOOST_PP_SEQ_ELEM_0'"
warnings.

Thanks,
Richard Webb

-- 
View this message in context: http://www.nabble.com/-scope_exit--capture-list-syntax-for-scope_exit-and-local_function-tp21454605p21498687.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk