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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to