<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic STL error building in Itanium in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988798#M755327</link>
    <description>Our application is build on HP-UX 11.11 PA-RISC, HP-UX 11.23 ipf64. We use certain third party tools like SourceProEd8, Orbix 6.3SP2, etc. &lt;BR /&gt;&lt;BR /&gt;We tried building our application as well as RW’s SourcePro using native HP C++ libraries. &lt;BR /&gt;&lt;BR /&gt;Build went through and it was working fine in HP PA-RISC but it is throwing the following compiler error in HP Itanium machine.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;"/opt/aCC/include_std/memory", line 278: error #2403: function "std::allocator&amp;lt;_TypeT&amp;gt;::address(std::allocator&amp;lt;_TypeT&amp;gt;::reference) const [with _TypeT=std::map&lt;BR /&gt;&lt;BR /&gt;&lt;CONST short=""&gt;&amp;gt;, std::less&lt;CONST short=""&gt;, std::allocator&amp;lt;:pair&amp;gt;&lt;/CONST&gt;&lt;BR /&gt;d::allocator&lt;LAYERINFO&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;::key_type]" has already been declared&lt;BR /&gt;&lt;BR /&gt;      const_pointer address (const_reference __x) const {&lt;BR /&gt;&lt;BR /&gt;                    ^&lt;BR /&gt;&lt;BR /&gt;          detected during:&lt;BR /&gt;&lt;BR /&gt;            instantiation of class "std::allocator&amp;lt;_TypeT&amp;gt; [with _TypeT=std::map&lt;CONST short=""&gt;&amp;gt;, std::less&lt;BR /&gt;&lt;BR /&gt;&lt;CONST short=""&gt;, std::allocator&amp;lt;:pair&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;::key_type]" at line 88 of "/opt/aCC/include_std/&lt;BR /&gt;&lt;BR /&gt;rw/tree"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also please find our compiler versions below&lt;BR /&gt;&lt;BR /&gt;HP-UX PA-RISC&lt;BR /&gt;# aCC –V&lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.65 &lt;BR /&gt;&lt;BR /&gt;HP-UX Itanium&lt;BR /&gt;# aCC –V&lt;BR /&gt;aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]&lt;BR /&gt;&lt;BR /&gt;IONA's support matrix for Orbix 6.3 SP2 is available in the link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.iona.com/products/prod_comp_java_plat.htm" target="_blank"&gt;http://www.iona.com/products/prod_comp_java_plat.htm&lt;/A&gt;&lt;BR /&gt;&lt;/CONST&gt;&lt;/CONST&gt;&lt;/LAYERINFO&gt;&lt;/CONST&gt;</description>
    <pubDate>Wed, 25 Apr 2007 12:56:02 GMT</pubDate>
    <dc:creator>Thiagu_1</dc:creator>
    <dc:date>2007-04-25T12:56:02Z</dc:date>
    <item>
      <title>STL error building in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988798#M755327</link>
      <description>Our application is build on HP-UX 11.11 PA-RISC, HP-UX 11.23 ipf64. We use certain third party tools like SourceProEd8, Orbix 6.3SP2, etc. &lt;BR /&gt;&lt;BR /&gt;We tried building our application as well as RW’s SourcePro using native HP C++ libraries. &lt;BR /&gt;&lt;BR /&gt;Build went through and it was working fine in HP PA-RISC but it is throwing the following compiler error in HP Itanium machine.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;"/opt/aCC/include_std/memory", line 278: error #2403: function "std::allocator&amp;lt;_TypeT&amp;gt;::address(std::allocator&amp;lt;_TypeT&amp;gt;::reference) const [with _TypeT=std::map&lt;BR /&gt;&lt;BR /&gt;&lt;CONST short=""&gt;&amp;gt;, std::less&lt;CONST short=""&gt;, std::allocator&amp;lt;:pair&amp;gt;&lt;/CONST&gt;&lt;BR /&gt;d::allocator&lt;LAYERINFO&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;::key_type]" has already been declared&lt;BR /&gt;&lt;BR /&gt;      const_pointer address (const_reference __x) const {&lt;BR /&gt;&lt;BR /&gt;                    ^&lt;BR /&gt;&lt;BR /&gt;          detected during:&lt;BR /&gt;&lt;BR /&gt;            instantiation of class "std::allocator&amp;lt;_TypeT&amp;gt; [with _TypeT=std::map&lt;CONST short=""&gt;&amp;gt;, std::less&lt;BR /&gt;&lt;BR /&gt;&lt;CONST short=""&gt;, std::allocator&amp;lt;:pair&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;::key_type]" at line 88 of "/opt/aCC/include_std/&lt;BR /&gt;&lt;BR /&gt;rw/tree"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also please find our compiler versions below&lt;BR /&gt;&lt;BR /&gt;HP-UX PA-RISC&lt;BR /&gt;# aCC –V&lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.65 &lt;BR /&gt;&lt;BR /&gt;HP-UX Itanium&lt;BR /&gt;# aCC –V&lt;BR /&gt;aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]&lt;BR /&gt;&lt;BR /&gt;IONA's support matrix for Orbix 6.3 SP2 is available in the link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.iona.com/products/prod_comp_java_plat.htm" target="_blank"&gt;http://www.iona.com/products/prod_comp_java_plat.htm&lt;/A&gt;&lt;BR /&gt;&lt;/CONST&gt;&lt;/CONST&gt;&lt;/LAYERINFO&gt;&lt;/CONST&gt;</description>
      <pubDate>Wed, 25 Apr 2007 12:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988798#M755327</guid>
      <dc:creator>Thiagu_1</dc:creator>
      <dc:date>2007-04-25T12:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: STL error building in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988799#M755328</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Oracle and other vendors have different releases Oracle versus Itanium.&lt;BR /&gt;&lt;BR /&gt;I would therefore conclude that different code  and/or tools is required.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many other vendors have to do the same thing. I would check with my tool vendors and make sure you have a toolset that truly supports both platforms. If so, its debug time and you will likely need to maintain two sets of code.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Apr 2007 13:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988799#M755328</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-04-25T13:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: STL error building in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988800#M755329</link>
      <description>This problem is basically simple to solve if you have seen it several times recently.  ;-)&lt;BR /&gt;&lt;BR /&gt;You basically have two functions with the same signature because you aren't using the correct value_type when passed to a STL map or set.  If you make the first argument const, then one member address() matches the other.&lt;BR /&gt;&lt;BR /&gt;From the error messages:                   &lt;BR /&gt;std::map&lt;CONST short=""&gt; ... &amp;gt;&lt;BR /&gt;&lt;BR /&gt;This isn't legal and you'll have to remove the const:&lt;BR /&gt;std::map&lt;SHORT&gt; &amp;gt;&lt;/SHORT&gt;&lt;/CONST&gt;</description>
      <pubDate>Thu, 26 Apr 2007 01:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988800#M755329</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-26T01:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: STL error building in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988801#M755330</link>
      <description>I did find where we documented error 2403 on our aCC5 to aCC6 page:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7274,00.html#_ISO-39._aCC6_detects_instantiation_" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7274,00.html#_ISO-39._aCC6_detects_instantiation_&lt;/A&gt;</description>
      <pubDate>Thu, 26 Apr 2007 02:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988801#M755330</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-26T02:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: STL error building in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988802#M755331</link>
      <description>Thanks Dennis, it is working now.</description>
      <pubDate>Thu, 26 Apr 2007 09:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stl-error-building-in-itanium/m-p/3988802#M755331</guid>
      <dc:creator>Thiagu_1</dc:creator>
      <dc:date>2007-04-26T09:36:24Z</dc:date>
    </item>
  </channel>
</rss>

