You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/12/23 19:30:40 UTC

DO NOT REPLY [Bug 15637] New: - Xalan 1.4 doesn't build on HP/UX 11.00 with aCC when using -AA flag

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

Xalan 1.4 doesn't build on HP/UX 11.00 with aCC when using -AA flag

           Summary: Xalan 1.4 doesn't build on HP/UX 11.00 with aCC when
                    using -AA flag
           Product: XalanC
           Version: 1.4.x
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: mgadams@omnimark.com


Xalan 1.4 fails while building PlatformSupport/AttributeListImpl.cpp with an
error about 'for_each' not being defined for this class in
Include/STLHelper.hpp. It turns out that the compiler seems to have a bug with
the scope of the 'using std::for_each;' statement just prior to its use. The
workaround I found is to move the scope of that statement up one level.

Platform: HP/UX 11.00
Compiler: aCC: HP ANSI C++ B3910B A.03.31
Compiler flags: -AA

Note that we require the use of -AA, as the library we're linking xalan to
requires the new C++ features.