<?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 Re: Need help HP aC++ Version 6.* compiler in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989095#M95859</link>
    <description>&amp;gt;I have attached the error file from version 6 compiler and ...&lt;BR /&gt;&lt;BR /&gt;I only see the useless aCC5 warnings.&lt;BR /&gt;Warning 890: warning &lt;IOSTREAM.H&gt; is being replaced by &lt;IOSTREAM&gt; followed by "using namespace std;"&lt;BR /&gt;&lt;BR /&gt;This may cause there to be two input_iterator_tag.  One in std and one in the global namespace.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;We are using a threadsafe STL,&lt;BR /&gt;&lt;BR /&gt;Why do you think you need this alternate STL?&lt;BR /&gt;Just compile with -AA -mt.&lt;BR /&gt;&lt;BR /&gt;If you don't use HP's Standard C++ Library, you  must compile with +nostl.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;+nommap +inst_v +eh -DRW_MULTI_THREAD&lt;BR /&gt;&lt;BR /&gt;Remove +nommap.  +inst_v doesn't work on IPF.&lt;BR /&gt;Remove +eh, since it is the default.&lt;BR /&gt;-DRW_MULTI_THREAD is not valid with -AA.&lt;BR /&gt;(Use -mt for threading.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;where its failing in iterator.h&lt;BR /&gt;template &lt;CLASS t=""&gt;&lt;BR /&gt;inline input_iterator_tag&lt;BR /&gt;iterator_category(const input_iterator&lt;T&gt;&amp;amp;) {&lt;BR /&gt;return input_iterator_tag();&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I doubt I can figure out anything without a .i file.&lt;BR /&gt;&lt;BR /&gt;I recently had to change &lt;RW&gt; to remove all of the __iterator_category functions and replace by one:&lt;BR /&gt;template &lt;CLASS _iterator=""&gt;&lt;BR /&gt;inline _TYPENAME iterator_traits&amp;lt;_Iterator&amp;gt;::iterator_category&lt;BR /&gt;__iterator_category(const _Iterator&amp;amp;) {&lt;BR /&gt;   typedef _TYPENAME iterator_traits&amp;lt;_Iterator&amp;gt;::iterator_category _IterCategory;&lt;BR /&gt;   return _IterCategory();&lt;BR /&gt;}&lt;/CLASS&gt;&lt;/RW&gt;&lt;/T&gt;&lt;/CLASS&gt;&lt;/IOSTREAM&gt;&lt;/IOSTREAM.H&gt;</description>
    <pubDate>Thu, 26 Apr 2007 19:35:52 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-04-26T19:35:52Z</dc:date>
    <item>
      <title>Need help HP aC++ Version 6.* compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989092#M95856</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I am porting a product to aC++ version 6 compiler&lt;BR /&gt;currently we are using version 5&lt;BR /&gt;&lt;BR /&gt;Old C++ Version =aCC: HP aC++/ANSI C B3910B A.05.52 [Sep 05 2003]&lt;BR /&gt;&lt;BR /&gt;Current C++ Version = aCC: HP aC++/ANSI C B3910B A.06.06 [Nov 7 2005]&lt;BR /&gt;&lt;BR /&gt;However in one of the module i am facing some errors,the error message is&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"../../mdds/threadsafestl/iterator.h", line 39: error #2266: "input_iterator_tag&lt;BR /&gt;" is ambiguous&lt;BR /&gt;  inline input_iterator_tag"&lt;BR /&gt;&lt;BR /&gt;It compiles fine with version 5 compiler. I think in new version has come enhancement due to which i am getting this error.&lt;BR /&gt;&lt;BR /&gt;I unserstand that compiler found two versions of "input_iterator_tag".&lt;BR /&gt;&lt;BR /&gt;Can someone give me a hint ,how to solve this issue</description>
      <pubDate>Thu, 26 Apr 2007 01:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989092#M95856</guid>
      <dc:creator>nayeem khan</dc:creator>
      <dc:date>2007-04-26T01:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help HP aCC6 compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989093#M95857</link>
      <description>&lt;P&gt;Unfortunately without more of the error message or the whole instantiation trace back, it is kind of hard to determine what's wrong.&lt;BR /&gt;&lt;BR /&gt;I don't see Error 2266 on our aCC5 to aCC6 page:&lt;BR /&gt;&lt;A target="_blank" href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7274,00.html"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7274,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This could be related to my answer in:&lt;BR /&gt;&lt;A target="_blank" href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1121620"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1121620&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It would help if you could provide more of line 39 and 40 to any "{" or ";".&lt;BR /&gt;&lt;BR /&gt;Does the compiler tell you where the other input_iterator_tag is declared, so you can also show that?&lt;BR /&gt;&lt;BR /&gt;You may have to compile with -E -.i to create a .i file any provide that, if you don't have any IP concerns.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2011 04:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989093#M95857</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-03T04:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help HP aC++ Version 6.* compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989094#M95858</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;thanks for your reply..i have searched HP site for that error..without success&lt;BR /&gt;&lt;BR /&gt;here the compiler command&lt;BR /&gt;        /opt/aCC.06.06/bin/aCC +DD32 -AA +nommap -DNO_GOOD_FLOAT2INT +inst_v +eh -O -DRW_MULTI_THREAD -D_REENTERANT -DTAO_HP -DTAO_32 +w +u1 -z  -ext -D_LARGEFILE64_SOURCE  -I/view/vikas_6126_hp1122/dvobs/TAO/ACE_wrappers -I/view/vikas_6126_hp1122/dvobs/TAO/ACE_wrappers/TAO -I/view/vikas_6126_hp1122/dvobs/TAO/ACE_wrappers/TAO/tao -I/view/vikas_6126_hp1122/dvobs/TAO/ACE_wrappers/TAO/orbsvcs/orbsvcs  -I../../xmam -I../.. -I../../arobject -I../../repobj -I../../repobj/bison -I../../custlist -I../../../../base-libs/codebase/5.1mt -I../../mdds/threadsafestl -I../interface -I../../mdds/lib   -DS4HPUX -D_THREAD_SAFE -DS4FOX -DS4OFF_OPTIMIZE  -D__BIGGER_ALIAS__ -D__UNIX_NOCASE__  -DS4OFF_REPORT -DFOUR_GB -DNO_YIELD_THREAD -D__HPUX__ -DDB_OPT -D_UNICODE -DS4DEBUG  -DWAN_OPTIMIZE   -DNDEBUG  -D__ALL_H_INCLUDED__  -DUSER_FUNC  -DDOUBLES_ONLY  -D__USECDX__  -D__CONFIG_REQD__  -D__FOR_INTEL_MEM__   -D__FOR_INTEL_BMK__  -D__FOR_COMPAQ__  -D__EXPORT__ -D__FYI_CONTROL__  -DCOMPDECOMP  -D__FYI_HPUX__  -DNLM_CERT  -D__ERROR_LOGGING__  -DHPUX_11  -DHP_STRICT_ANSI  -mt   -DTHREAD  -DPTHREADS  -D_KERNEL_THREADS  -DPTHREAD_COMPAT_MODE  -DACE_LACKS_CLEARERR  -DACE_HAS_NO_THROW_SPEC +w +u1 -z  -ext -D_LARGEFILE64_SOURCE  -c mdds.cpp 2&amp;gt; err&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have attached the error file from version 6 compiler and warning from version 5 compiler&lt;BR /&gt;&lt;BR /&gt;If i compile the same file with same options but with Version 5 compiler it compiles fine(ofcourse with warnings)&lt;BR /&gt;&lt;BR /&gt;We are using a threadsafe STL,where its failing in iterator.h&lt;BR /&gt;below is the code,its failing at &lt;BR /&gt;"inline input_iterator_tag "&lt;BR /&gt;------------------code----------------&lt;BR /&gt;template &lt;CLASS t=""&gt; &lt;BR /&gt;inline input_iterator_tag &lt;BR /&gt;iterator_category(const input_iterator&lt;T&gt;&amp;amp;) {&lt;BR /&gt;    return input_iterator_tag();&lt;BR /&gt;}&lt;BR /&gt;--------------------code----------------&lt;BR /&gt;&lt;BR /&gt;&lt;/T&gt;&lt;/CLASS&gt;</description>
      <pubDate>Thu, 26 Apr 2007 05:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989094#M95858</guid>
      <dc:creator>nayeem khan</dc:creator>
      <dc:date>2007-04-26T05:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help HP aC++ Version 6.* compiler</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989095#M95859</link>
      <description>&amp;gt;I have attached the error file from version 6 compiler and ...&lt;BR /&gt;&lt;BR /&gt;I only see the useless aCC5 warnings.&lt;BR /&gt;Warning 890: warning &lt;IOSTREAM.H&gt; is being replaced by &lt;IOSTREAM&gt; followed by "using namespace std;"&lt;BR /&gt;&lt;BR /&gt;This may cause there to be two input_iterator_tag.  One in std and one in the global namespace.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;We are using a threadsafe STL,&lt;BR /&gt;&lt;BR /&gt;Why do you think you need this alternate STL?&lt;BR /&gt;Just compile with -AA -mt.&lt;BR /&gt;&lt;BR /&gt;If you don't use HP's Standard C++ Library, you  must compile with +nostl.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;+nommap +inst_v +eh -DRW_MULTI_THREAD&lt;BR /&gt;&lt;BR /&gt;Remove +nommap.  +inst_v doesn't work on IPF.&lt;BR /&gt;Remove +eh, since it is the default.&lt;BR /&gt;-DRW_MULTI_THREAD is not valid with -AA.&lt;BR /&gt;(Use -mt for threading.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;where its failing in iterator.h&lt;BR /&gt;template &lt;CLASS t=""&gt;&lt;BR /&gt;inline input_iterator_tag&lt;BR /&gt;iterator_category(const input_iterator&lt;T&gt;&amp;amp;) {&lt;BR /&gt;return input_iterator_tag();&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I doubt I can figure out anything without a .i file.&lt;BR /&gt;&lt;BR /&gt;I recently had to change &lt;RW&gt; to remove all of the __iterator_category functions and replace by one:&lt;BR /&gt;template &lt;CLASS _iterator=""&gt;&lt;BR /&gt;inline _TYPENAME iterator_traits&amp;lt;_Iterator&amp;gt;::iterator_category&lt;BR /&gt;__iterator_category(const _Iterator&amp;amp;) {&lt;BR /&gt;   typedef _TYPENAME iterator_traits&amp;lt;_Iterator&amp;gt;::iterator_category _IterCategory;&lt;BR /&gt;   return _IterCategory();&lt;BR /&gt;}&lt;/CLASS&gt;&lt;/RW&gt;&lt;/T&gt;&lt;/CLASS&gt;&lt;/IOSTREAM&gt;&lt;/IOSTREAM.H&gt;</description>
      <pubDate>Thu, 26 Apr 2007 19:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-hp-ac-version-6-compiler/m-p/3989095#M95859</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-26T19:35:52Z</dc:date>
    </item>
  </channel>
</rss>

