Angus wrote:
> I wonder if the attached patch will make MSVC happy. Could you test it
> for me?

The result is below.

Regards,
Asger


Compiling...
ExternalTransforms.C
\lyx\lyx-devel\src\insets\ExternalTransforms.C(345) : warning C4239: nonstandard extension used : 'argument' : conversion from 'boost::function1<R,T0,Allocator>::result_type' to 'std::auto_ptr<_Ty> &'
with
[
R=lyx::external::TransformCommand::ptr_type,
T0=const lyx::external::RotationData &,
Allocator=std::allocator<void>
]
and
[
_Ty=const lyx::external::TransformCommand
]
A reference that is not to 'const' cannot be bound to a non-lvalue; assigment operator takes a reference to non-const
\lyx\lyx-devel\src\insets\ExternalTransforms.C(356) : see reference to function template instantiation 'void lyx::external::`anonymous-namespace'::extractIt<lyx::external::RotationCommandFactory,lyx::external::RotationData,lyx::external::TransformCommand::ptr_type>(const boost::any &,const Data &,Transformer &)' being compiled
with
[
Data=lyx::external::RotationData,
Transformer=lyx::external::TransformCommand::ptr_type
]
\lyx\lyx-devel\src\insets\ExternalTransforms.C(345) : warning C4239: nonstandard extension used : 'argument' : conversion from 'boost::function1<R,T0,Allocator>::result_type' to 'std::auto_ptr<_Ty> &'
with
[
R=lyx::external::TransformCommand::ptr_type,
T0=const lyx::external::ResizeData &,
Allocator=std::allocator<void>
]
and
[
_Ty=const lyx::external::TransformCommand
]
A reference that is not to 'const' cannot be bound to a non-lvalue; assigment operator takes a reference to non-const
\lyx\lyx-devel\src\insets\ExternalTransforms.C(366) : see reference to function template instantiation 'void lyx::external::`anonymous-namespace'::extractIt<lyx::external::ResizeCommandFactory,lyx::external::ResizeData,lyx::external::TransformCommand::ptr_type>(const boost::any &,const Data &,Transformer &)' being compiled
with
[
Data=lyx::external::ResizeData,
Transformer=lyx::external::TransformCommand::ptr_type
]
\lyx\lyx-devel\src\insets\ExternalTransforms.C(345) : warning C4239: nonstandard extension used : 'argument' : conversion from 'boost::function1<R,T0,Allocator>::result_type' to 'std::auto_ptr<_Ty> &'
with
[
R=lyx::external::TransformOption::ptr_type,
T0=const lyx::external::RotationData &,
Allocator=std::allocator<void>
]
and
[
_Ty=const lyx::external::TransformOption
]
A reference that is not to 'const' cannot be bound to a non-lvalue; assigment operator takes a reference to non-const
\lyx\lyx-devel\src\insets\ExternalTransforms.C(376) : see reference to function template instantiation 'void lyx::external::`anonymous-namespace'::extractIt<lyx::external::RotationOptionFactory,lyx::external::RotationData,lyx::external::TransformOption::ptr_type>(const boost::any &,const Data &,Transformer &)' being compiled
with
[
Data=lyx::external::RotationData,
Transformer=lyx::external::TransformOption::ptr_type
]
\lyx\lyx-devel\src\insets\ExternalTransforms.C(345) : warning C4239: nonstandard extension used : 'argument' : conversion from 'boost::function1<R,T0,Allocator>::result_type' to 'std::auto_ptr<_Ty> &'
with
[
R=lyx::external::TransformOption::ptr_type,
T0=const lyx::external::ResizeData &,
Allocator=std::allocator<void>
]
and
[
_Ty=const lyx::external::TransformOption
]
A reference that is not to 'const' cannot be bound to a non-lvalue; assigment operator takes a reference to non-const
\lyx\lyx-devel\src\insets\ExternalTransforms.C(386) : see reference to function template instantiation 'void lyx::external::`anonymous-namespace'::extractIt<lyx::external::ResizeOptionFactory,lyx::external::ResizeData,lyx::external::TransformOption::ptr_type>(const boost::any &,const Data &,Transformer &)' being compiled
with
[
Data=lyx::external::ResizeData,
Transformer=lyx::external::TransformOption::ptr_type
]
\lyx\lyx-devel\src\insets\ExternalTransforms.C(345) : warning C4239: nonstandard extension used : 'argument' : conversion from 'boost::function1<R,T0,Allocator>::result_type' to 'std::auto_ptr<_Ty> &'
with
[
R=lyx::external::TransformOption::ptr_type,
T0=const lyx::external::ClipData &,
Allocator=std::allocator<void>
]
and
[
_Ty=const lyx::external::TransformOption
]
A reference that is not to 'const' cannot be bound to a non-lvalue; assigment operator takes a reference to non-const
\lyx\lyx-devel\src\insets\ExternalTransforms.C(396) : see reference to function template instantiation 'void lyx::external::`anonymous-namespace'::extractIt<lyx::external::ClipOptionFactory,lyx::external::ClipData,lyx::external::TransformOption::ptr_type>(const boost::any &,const Data &,Transformer &)' being compiled
with
[
Data=lyx::external::ClipData,
Transformer=lyx::external::TransformOption::ptr_type
]
\lyx\lyx-devel\src\insets\ExternalTransforms.C(345) : warning C4239: nonstandard extension used : 'argument' : conversion from 'boost::function1<R,T0,Allocator>::result_type' to 'std::auto_ptr<_Ty> &'
with
[
R=lyx::external::TransformOption::ptr_type,
T0=const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &,
Allocator=std::allocator<void>
]
and
[
_Ty=const lyx::external::TransformOption
]
A reference that is not to 'const' cannot be bound to a non-lvalue; assigment operator takes a reference to non-const
\lyx\lyx-devel\src\insets\ExternalTransforms.C(407) : see reference to function template instantiation 'void lyx::external::`anonymous-namespace'::extractIt<lyx::external::ExtraOptionFactory,std::string,lyx::external::TransformOption::ptr_type>(const boost::any &,const Data &,Transformer &)' being compiled
with
[
Data=std::string,
Transformer=lyx::external::TransformOption::ptr_type
]
Linking...


Build log was saved at "file://d:\lyx\lyx-devel\development\Win32\Debug\BuildLog.htm"
lyx - 0 error(s), 6 warning(s)

Reply via email to