Andrei

Did you manage to find any information on how to get rid of warnings 
C4275
non dll-interface class 'std::runtime_error' used as base for dll-interface 
class 'cURLpp::RuntimeError' 
and C4251 
1>d:\projects\curlpp\Exception.hpp(179) : warning C4251: 
'cURLpp::CallbackException<ExceptionType>::mException' : class 
'cURLpp::UnknowException' needs to have dll-interface to be used by clients of 
class 'cURLpp::CallbackException<ExceptionType>'
when building curlpp in VC?

The best I found about the first is this

(http://osdir.com/ml/lib.boost.user/2002-04/msg00016.html)
-----------------------------------------------------------------------------
> non dll-interface class 'std::runtime_error' used base for dll-interface
class 'boost::pattern'

Good question - Dinkumware don't give std::runtime_error a dll interface, so
if you derive from it and try to export/import the result from a dll, then
you get that warning. IMO it's a bug in vc7, but Dinkumware may see it
differently :-(

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm
-----------------------------------------------------------------------------

But it's from 2002!

Regards
Piotr Dobrogost
_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to