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 bu...@apache.org on 2002/06/18 12:32:20 UTC

DO NOT REPLY [Bug 9950] New: - Build error

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9950>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9950

Build error

           Summary: Build error
           Product: Xerces-C++
           Version: Nightly build (please specify the date)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: PeterV@ti.com.od.ua


Compiler: MSVC5
Nightly build date: 06/18/02

/dom/impl/DOMWriterImpl.cpp(1091) : error C2202: 'checkFeature' : not all c
ontrol paths return a value
make: *** [../../bld/wnt/krr/obj/krrxrcs/DOMWriterImpl.obj] Error 2

Workaround:
Remove "else" from lines 1058, 1086 and 1089
For example:
    //feature name not resolvable
    if (featureId == INVALID_FEATURE_ID)
    {
        if (toThrow)
            throw DOMException(DOMException::NOT_FOUND_ERR, featName);		

        return false;
    }
    return true;

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org