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 2004/06/16 17:59:54 UTC

DO NOT REPLY [Bug 29614] New: - gcc 3.4 is stricter - need typename in XalanArrayAllocator.hpp

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29614>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29614

gcc 3.4 is stricter - need typename in XalanArrayAllocator.hpp

           Summary: gcc 3.4 is stricter - need typename in
                    XalanArrayAllocator.hpp
           Product: XalanC
           Version: 1.8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: pete.forman@westerngeco.com


There was a compile error using gcc/3.4.0.  Presumably this is just a warning 
with older gcc versions.

Line 173 of src/xalanc/PlatformSupport/XalanArrayAllocator.hpp should have a 
"typename" inserted to read:

  theNewEntry.second.resize(theBlockSize, typename VectorType::value_type(0));

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