From: Bo Persson (bop2_at_[hidden])
Date: 2002-09-20 16:03:43
"Bob Kline" <bkline_at_[hidden]> wrote:
> We're getting a new warning when compiling our code against Regex++ 3.31
> using Visual C++ 7. Here is the text of the warning, reformatted
> slightly to make it easier to read:
> F:/usr\regex\boost\regex\pattern_except.hpp(35) : warning C4275: \
> non dll-interface class 'std::runtime_error' used as base for \
> dll-interface class 'boost::bad_pattern'
> D:\Program Files\Microsoft Visual Studio \
> .NET\Vc7\include\stdexcept(137) : see declaration of \
> F:/usr\regex\boost\regex\pattern_except.hpp(34) : see \
> declaration of 'boost::bad_pattern'
It basically says that you export a class (bad_pattern) whose base class is
*not* exported. This means that its inherited functions are sort of visible,
but hard to link to.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk