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

Cannot build 1.4 with Compiler Solaris Workshop 6 Update 1

           Summary: Cannot build 1.4 with Compiler Solaris Workshop 6 Update
                    1
           Product: XalanC
           Version: 1.4.x
          Platform: Sun
               URL: http://cvs.apache.org/viewcvs.cgi/xml-
                    xalan/c/src/Include/SolarisDefinitions.hpp
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: Major
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We try to upgrade from Xerces Version 1.3 to 1.4. 

In the file c/src/Include/SolarisDefinitions.hpp the #ifdef for the Compiler
Version of Solaris was changed from

#if __SUNPRO_CC_COMPAT >= 5

to 

#if __SUNPRO_CC >= 0x530

On Solaris, the value 0x530 for __SUNPRO_CC means that a Sun Workshop Compiler
Version 6 Update 2 is installed.

This new ifdef is not good, as through this every lower Compiler Version is
considered as Version 4.x. Therefore building with Workshop 6 Update 1 fails.

I tried to change this to 0x520, then I can build. Maybe this define should even
go down to 0x500, but I don't know if these versions will build correctly.

I set the url to point to the version-view of the file SolarisDefinitions.hpp.

Reply via email to