<?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: error #2005-D: could not open source file &amp;quot;iostream/strstream.h&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497624#M680709</link>
    <description>&amp;gt;It worked :)&lt;BR /&gt;&lt;BR /&gt;You might mention which of my N suggestions worked, for everyone else.</description>
    <pubDate>Wed, 16 Sep 2009 08:54:47 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-09-16T08:54:47Z</dc:date>
    <item>
      <title>error #2005-D: could not open source file "iostream/strstream.h"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497620#M680705</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We are migrating a C/C++ application from HPUX11.11 to Itanium V23. I am compiling as a 32 bit application.&lt;BR /&gt;&lt;BR /&gt;When I am compiling a particular file, I get the following error.&lt;BR /&gt;&lt;BR /&gt;/opt/aCC/bin/aCC -I/opt/tuxdir/tuxedo8.1/include -I/opt/siadev/mxshai3/SIA/1_1_code/common/include -I/opt/siadev/slayer/include -I/opt/siadev/slayer/include -g0 +z +DD32 -c SiaCommonInterface.cpp&lt;BR /&gt;"/opt/siadev/mxshai3/SIA/1_1_code/common/include/BSCTypeDefs.h", line 22: error #2005-D:&lt;BR /&gt;          could not open source file "iostream/strstream.h"&lt;BR /&gt;  #include &lt;IOSTREAM&gt;&lt;BR /&gt;&lt;BR /&gt;But if I add -I/opt/aCC/include in the Makefile, then I get a Catastrophic error and I found we should not include aCC/include for Itanium series. &lt;BR /&gt;&lt;BR /&gt;How to include iostream/strstream.h if I cannot refer to aCC/include path? &lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Goutham&lt;/IOSTREAM&gt;</description>
      <pubDate>Tue, 15 Sep 2009 09:41:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497620#M680705</guid>
      <dc:creator>Goutham YJ</dc:creator>
      <dc:date>2009-09-15T09:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: error #2005-D: could not open source file "iostream/strstream.h"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497621#M680706</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I seem to have overcome this problem by adding -AP option. I saw this in another thread here and it worked. &lt;BR /&gt;&lt;BR /&gt;But is this the correct solution? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Goutham</description>
      <pubDate>Tue, 15 Sep 2009 11:11:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497621#M680706</guid>
      <dc:creator>Goutham YJ</dc:creator>
      <dc:date>2009-09-15T11:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: error #2005-D: could not open source file "iostream/strstream.h"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497622#M680707</link>
      <description>&amp;gt;error #2005-D: could not open source file "iostream/strstream.h"&lt;BR /&gt;&lt;BR /&gt;It is illegal to include "iostream/" as part of the include file path.  Your includes should have just been &lt;STRSTREAM.H&gt;.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;if I add -I/opt/aCC/include in the Makefile, then I get a Catastrophic error and I found we should not include aCC/include&lt;BR /&gt;&lt;BR /&gt;Right.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;How to include iostream/strstream.h if I cannot refer to aCC/include path?&lt;BR /&gt;&amp;gt;seem to have overcome this problem by adding -AP option.  But is this the correct solution?&lt;BR /&gt;&lt;BR /&gt;Not really.  It is not recommended you use -AP.  You shouldn't use strstream.h with -AA.  You should instead port to the deprecated Standard &lt;STRSTREAM&gt;, or better yet, &lt;SSTREAM&gt;.&lt;/SSTREAM&gt;&lt;/STRSTREAM&gt;&lt;/STRSTREAM.H&gt;</description>
      <pubDate>Tue, 15 Sep 2009 11:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497622#M680707</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-09-15T11:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: error #2005-D: could not open source file "iostream/strstream.h"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497623#M680708</link>
      <description>Thanks a lot Dennis. It worked :)</description>
      <pubDate>Wed, 16 Sep 2009 04:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497623#M680708</guid>
      <dc:creator>Goutham YJ</dc:creator>
      <dc:date>2009-09-16T04:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: error #2005-D: could not open source file "iostream/strstream.h"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497624#M680709</link>
      <description>&amp;gt;It worked :)&lt;BR /&gt;&lt;BR /&gt;You might mention which of my N suggestions worked, for everyone else.</description>
      <pubDate>Wed, 16 Sep 2009 08:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2005-d-could-not-open-source-file-quot-iostream-strstream/m-p/4497624#M680709</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-09-16T08:54:47Z</dc:date>
    </item>
  </channel>
</rss>

