You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Stansbury, Jack" <js...@vignette.com> on 2000/12/15 16:05:11 UTC

Xerces 1.3

I'm getting this warning message when compiling my application on a SunOS
5.6 system:

"dmmmxml.cxx", line 742: Warning: A class with a constructor will not
reliably work with "...".

on the catch() in this code:

    try {
        XMLPlatformUtils::Initialize();
    }
    catch(const XMLException& toCatch) {
        error(methodName, "Error initializing the XML parser: %s",
DOMString(toCatch.getMessage()));
        return DMM_ERROR;
    }

The XMLException class is defined with a constructor. Am I using this
incorrectly?

Thanks,
Jack Stansbury
Vignette Corporation