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=5324>. 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=5324 Use intrinsic platform macros Summary: Use intrinsic platform macros Product: XalanC Version: 1.2.x Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] At present, you must hard-code macros in your makefiles in order to inform Xalan what compiler is being used to compile the Xalan libraries and include files. For example, if I want compile a binary that uses a SunPro compiler I must add a "-DSOLARIS" switch to my "CC" statement. This is unnecessary extra work for users and can lead to errors in multiplatform environments. Far better to use the builtin macros that are present in virtually all C++ compilers. For example, for the SunPro compiler change the line in Include/SolarisDefinitions.hpp from: #elif defined(SOLARIS) #include "SolarisDefinitions.hpp" to: #elif defined( __SUNPRO_CC) #include "SolarisDefinitions.hpp"
