<?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: compilation failure on itanium with error #2393 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898631#M701629</link>
    <description>No its not he issue with C Vs C++ as pointed out in the other thread. Even in C, it is not possible to deference with a forward declaration. For example, with this, a C compiler would complain: &lt;BR /&gt;&lt;BR /&gt;struct nlist *np;&lt;BR /&gt;printf("np-&amp;gt;name : %s :: np-&amp;gt;defw : %s\n", np-&amp;gt;name, np-&amp;gt;defw);&lt;BR /&gt;&lt;BR /&gt;The compiler would have no clue on what name and defw are with just a pointer, with definition of struct nlist not seen in the same translation unit. &lt;BR /&gt;&lt;BR /&gt;-Ganesh</description>
    <pubDate>Fri, 29 Apr 2005 06:37:19 GMT</pubDate>
    <dc:creator>Ganesh SG</dc:creator>
    <dc:date>2005-04-29T06:37:19Z</dc:date>
    <item>
      <title>compilation failure on itanium with error #2393</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898628#M701626</link>
      <description>I am getting a compilation error "error #2393: pointer to incomplete class type is not allowed " on HP B.11.23 ia64 using aCC A.06.00.&lt;BR /&gt;The same source code compiled successfully on HP B.11.00(PA-RISC) using aCC A.03.55 as well as on other UNIX platforms. Can someone point me to what that "error #2393" means?&lt;BR /&gt;&lt;BR /&gt;Isabel Lin&lt;BR /&gt;===============================================&lt;BR /&gt;"/home/ilin/src/sjc/sjcunixdepot/main/agent/NqClassLib/include/NqClassLib/NqRef.h", line 326: error #2393:&lt;BR /&gt;          pointer to incomplete class type is not allowed&lt;BR /&gt;       if ((m_pData != NULL) &amp;amp;&amp;amp; (m_pData-&amp;gt;decRef() == 0)) {&lt;BR /&gt;&lt;BR /&gt;          detected during:&lt;BR /&gt;            instantiation of "void NqRef::TRef&lt;DATA&gt;::cleanUp() [with&lt;BR /&gt;                      Data=UAConfig::Config]" at line 246&lt;BR /&gt;            instantiation of&lt;BR /&gt;                      "NqRef::TRef&lt;DATA&gt;::~TRef() [with Data=UAConfig::Config]"&lt;BR /&gt;                      at line 661 of "../ua_job.h"&lt;BR /&gt;&lt;/DATA&gt;&lt;/DATA&gt;</description>
      <pubDate>Wed, 27 Apr 2005 20:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898628#M701626</guid>
      <dc:creator>Isabel Lin_1</dc:creator>
      <dc:date>2005-04-27T20:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: compilation failure on itanium with error #2393</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898629#M701627</link>
      <description>Pointers can be declared for a forward declaration; is is possible that m_pData is one such. For such pointers, it is not possible to dereference it (with say, . or -&amp;gt;). That might be the problem. However, since the program compiled fine with 3.55, it might because of a compiler defect with the 3.55 compiler or the 6.00 compiler. &lt;BR /&gt;&lt;BR /&gt;Can you send me the preprocessed file? (use -E -.i instead of -c in your makefile). If it is small, you can post it here; otherwise you can send it to me at sgganesh@india.hp.com. &lt;BR /&gt;&lt;BR /&gt;-Ganesh</description>
      <pubDate>Fri, 29 Apr 2005 05:33:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898629#M701627</guid>
      <dc:creator>Ganesh SG</dc:creator>
      <dc:date>2005-04-29T05:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: compilation failure on itanium with error #2393</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898630#M701628</link>
      <description>Hi Isabel,&lt;BR /&gt;&lt;BR /&gt;Check this thread: &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=180241" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=180241&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's also some other threads about samba. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Fri, 29 Apr 2005 05:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898630#M701628</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-04-29T05:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: compilation failure on itanium with error #2393</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898631#M701629</link>
      <description>No its not he issue with C Vs C++ as pointed out in the other thread. Even in C, it is not possible to deference with a forward declaration. For example, with this, a C compiler would complain: &lt;BR /&gt;&lt;BR /&gt;struct nlist *np;&lt;BR /&gt;printf("np-&amp;gt;name : %s :: np-&amp;gt;defw : %s\n", np-&amp;gt;name, np-&amp;gt;defw);&lt;BR /&gt;&lt;BR /&gt;The compiler would have no clue on what name and defw are with just a pointer, with definition of struct nlist not seen in the same translation unit. &lt;BR /&gt;&lt;BR /&gt;-Ganesh</description>
      <pubDate>Fri, 29 Apr 2005 06:37:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898631#M701629</guid>
      <dc:creator>Ganesh SG</dc:creator>
      <dc:date>2005-04-29T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: compilation failure on itanium with error #2393</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898632#M701630</link>
      <description>I've resolved the problem. In my class definition, one object method had parameter default value defined for a template class. That caused a compile time template instantiation and aCC 00.06.00 compiler on HP IA64 requires the template class definition to be complete. Removing the default parameter value resolved the issue.</description>
      <pubDate>Tue, 03 May 2005 11:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-failure-on-itanium-with-error-2393/m-p/4898632#M701630</guid>
      <dc:creator>Isabel Lin_1</dc:creator>
      <dc:date>2005-05-03T11:18:47Z</dc:date>
    </item>
  </channel>
</rss>

