I usually ignored this warning. I'm not sure what can happen as the result. Peter
#include
namespace speedo {
typedef boost::error_info
error_info; class __declspec(dllexport) exception : public boost::exception { };
}
When I try to compile this, I get the following warning:
c:\cygwin\home\andrej\speedo\trunk\util\exception.h(14) : warning C4275: non dll-interface class 'boost::exception' used as base for dll-interfa ce class 'speedo::exception' C:\cygwin\home\Andrej\speedo\trunk\boost/exception/exception.hpp (47) : see declaration of 'boost::exception' c:\cygwin\home\andrej\speedo\trunk\util\exception.h(13) : see de claration of 'speedo::exception'
Is this a problem, and, how do I get rid of this without changing the bo ost-exception lib itself?