<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 3, 2015 at 9:56 AM, Edward Diener <span dir="ltr"><<a href="mailto:eldlistmailingz@tropicsoft.com" target="_blank">eldlistmailingz@tropicsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">// ex_exception.hpp<br>
<br>
#ifndef EX_EXCEPTION_HPP<br>
#define EX_EXCEPTION_HPP<br>
#include <exception><br>
#include "ex_decl.hpp"<br>
class EX_VISIBLE ex_exception :<br></blockquote><div><br></div><div>I think this class should probably be dllexported. It's possible that mingw looks at class visibility as well as dllexport attributes when deciding whether or not to expor tthe RTTI for classes, but I'm pretty sure clang doesn't. We could add that check for compatibility. Is there a compelling reason to not use dllexport on the entire class here?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    public virtual std::exception<br>
{<br>
private:<br>
    char m_buffer[128];<br>
protected:<br>
    EX_DECL unsigned int append(unsigned int l, const char * a);<br>
    EX_DECL ex_exception() ;<br>
public:<br>
    typedef enum {<br>
      no_exception,<br>
      other_exception<br>
    } ex_exception_code;<br>
    ex_exception_code code;<br>
    EX_DECL ex_exception(ex_exception_code c,const char * e1 = 0,const char * e2 = 0) ;<br>
    EX_DECL ex_exception(ex_exception const &) ;<br>
    virtual EX_DECL ~ex_exception() throw() ;<br>
    virtual EX_DECL const char * what() const throw() ;<br>
};<br>
#endif // EX_EXCEPTION_HPP<br></blockquote></div></div></div>