We're currently using Imath as our default math library for the
Field3D project (http://code.google.com/p/field3d/). The following was
submitted as a bug to us, so I thought I would forward it along in
case it's something you want to fix in Iex. Seems to be an Intel
compiler-only warning (I'm not getting it using gcc).

The original submitter's ticket is at:
http://code.google.com/p/field3d/issues/detail?id=3

Cheers,
Magnus

---

A lot of compilation warnings like one below in IexBaseExc.h .

warning #811: exception specification for implicitly declared virtual
function "Iex::ArgExc::~ArgExc" is incompatible with that of overridden
function "Iex::BaseExc::~BaseExc"


#define DEFINE_EXC(name, base)                                  \
    class name: public base                                     \
    {                                                           \
      public:                                                   \
        name (const char* text=0)      throw(): base (text) {}  \
        name (const std::string &text) throw(): base (text) {}  \
        name (std::stringstream &text) throw(): base (text) {}  \
        virtual ~ name () throw () { } \  ///<<< this was added to solve this
    };


_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to