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/08/23 18:13:56 UTC

DO NOT REPLY [Bug 11981] New: - "&" used instead of "&&" in AutoSense.hpp #if

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=11981>.
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=11981

"&" used instead of "&&" in AutoSense.hpp #if

           Summary: "&" used instead of "&&" in AutoSense.hpp #if
           Product: Xerces-C++
           Version: Nightly build (please specify the date)
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: metcalf@incert.com


In this code snippet, "&&" should be used instead of "&":

#elif defined(XML_SOLARIS)
    #if defined(__SUNPRO_CC) & __SUNPRO_CC >=0x500
        #define XML_SUNCC5
        #elif defined(__SUNPRO_CC) & __SUNPRO_CC <0x500
        #define XML_SUNCC

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