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/02/06 16:58:35 UTC
DO NOT REPLY [Bug 6274] New: -
Compile warnings on IRIX, framework/XMLElementDecl.hpp and util/QName.hpp
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=6274>.
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=6274
Compile warnings on IRIX, framework/XMLElementDecl.hpp and util/QName.hpp
Summary: Compile warnings on IRIX, framework/XMLElementDecl.hpp
and util/QName.hpp
Product: Xerces-C++
Version: 1.6.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: morten.w.pedersen@pgs.com
compile warnings on IRIX 6.5, CC 7.3:
--------------------------------------
cc-3303 CC: WARNING File = /usr/local/xerces-c-src1_6_0/include/util/QName.hpp,
Line = 131
A type qualifier on a return type is meaningless.
const unsigned int getURI() const;
^
cc-3303 CC: WARNING File = /usr/local/xerces-c-src1_6_0/include/util/QName.hpp,
Line = 234
A type qualifier on a return type is meaningless.
inline const unsigned int QName::getURI() const
^
cc-3303 CC: WARNING File =
/usr/local/xerces-c-src1_6_0/include/framework/XMLElementDecl.hpp, Line = 394
A type qualifier on a return type is meaningless.
const unsigned int getURI() const;
^
cc-3303 CC: WARNING File =
/usr/local/xerces-c-src1_6_0/include/framework/XMLElementDecl.hpp, Line = 603
A type qualifier on a return type is meaningless.
inline const unsigned int XMLElementDecl::getURI() const
--------------------------------------------------------------
The getURI as it is definded in e.g. framework/XMLAttr.hpp does not have
the const on the return type (the first const on each of the obove lines) and
the IRIX compiler seems to be much happier with that.
Cheers
-Morten
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org