<?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 #2247: member has already been defined in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145467#M683262</link>
    <description>&amp;gt;Its an old application which had been working for at least 5/10 years I believe.&lt;BR /&gt;&lt;BR /&gt;The aCC6 compiler is better at catching errors, aCC5 ignored the duplicate.&lt;BR /&gt;&lt;BR /&gt;Before you ported to 64 bit, have you compiled with aCC6 just to see what messages you got?</description>
    <pubDate>Wed, 10 Dec 2008 19:41:12 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-12-10T19:41:12Z</dc:date>
    <item>
      <title>error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145463#M683258</link>
      <description>Trying to compile a 32 bit running application in 64 bit and getting this error:&lt;BR /&gt;&lt;BR /&gt;aCC +DD64 -AA -z -g -mt -DSTD_AA +Z -I.  -I../inc  -I../../../lib/db_ob/inc  -I../../../lib/utility/inc  -I../../../lib/xml/inc   -c xlator_11.cpp&lt;BR /&gt;"xlator_11.cpp", line 30: error #2247: member "xlator_11::factory9_" has&lt;BR /&gt;          already been defined&lt;BR /&gt;        xlator_11::factory9_("MIS_IND_ALIAS_ADD", new(nothrow) xlator_11("1", false, true));&lt;BR /&gt;                   ^&lt;BR /&gt;&lt;BR /&gt;"xlator_11.cpp", line 30: error #2018: expected a ")"&lt;BR /&gt;        xlator_11::factory9_("MIS_IND_ALIAS_ADD", new(nothrow) xlator_11("1", false, true));&lt;BR /&gt;                                                ^&lt;BR /&gt;&lt;BR /&gt;Code in the xlator.cpp in line 30(here I am copying from line 25+-) are:&lt;BR /&gt;&lt;BR /&gt;aggregate_factory&lt;STRING&gt;&lt;BR /&gt;        xlator_11::factory8_("MIS_IND_ADMIN_ADD", new(nothrow) xlator_11("8", false));&lt;BR /&gt;aggregate_factory&lt;STRING&gt;&lt;BR /&gt;        xlator_11::factory9_("PDB_IND_ALIAS_ADD", new(nothrow) xlator_11("1", false, true));&lt;BR /&gt;aggregate_factory&lt;STRING&gt;&lt;BR /&gt;        xlator_11::factory9_("MIS_IND_ALIAS_ADD", new(nothrow) xlator_11("1", false, true));&lt;BR /&gt;aggregate_factory&lt;STRING&gt;&lt;BR /&gt;        xlator_11::factory10_("PDB_IND_UPD", new(nothrow) xlator_11("3", false, true));&lt;BR /&gt;aggregate_factory&lt;STRING&gt;&lt;BR /&gt;        xlator_11::factory11_("MIS_IND_UPD", new(nothrow) xlator_11("3", false, true));&lt;BR /&gt;&lt;BR /&gt;Now I can see its call factory9 twice but my guess since its working in 32 why its giving me an error in 64? is there a syntax change that i need to do for the 64 compiler to understand this code?&lt;/STRING&gt;&lt;/STRING&gt;&lt;/STRING&gt;&lt;/STRING&gt;&lt;/STRING&gt;</description>
      <pubDate>Tue, 09 Dec 2008 16:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145463#M683258</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-09T16:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145464#M683259</link>
      <description>aggregate_factory&lt;STRING&gt;&lt;BR /&gt;        xlator_11::factory9_("PDB_IND_ALIAS_ADD", new(nothrow) xlator_11("1", false, true));&lt;BR /&gt;aggregate_factory&lt;STRING&gt;&lt;BR /&gt;        xlator_11::factory9_("MIS_IND_ALIAS_ADD", new(nothrow) xlator_11("1", false, true));&lt;/STRING&gt;&lt;/STRING&gt;</description>
      <pubDate>Tue, 09 Dec 2008 21:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145464#M683259</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-09T21:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145465#M683260</link>
      <description>It looks illegal to me.  Why are you trying to define the same variable factory9_ twice?&lt;BR /&gt;&lt;BR /&gt;Have you compiled your application in 32 bit mode?</description>
      <pubDate>Wed, 10 Dec 2008 00:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145465#M683260</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-10T00:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145466#M683261</link>
      <description>I didn't compile it my self but the application is running as we speak and in production. its an old application which had been working for at leat 5/10 years i believe...</description>
      <pubDate>Wed, 10 Dec 2008 14:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145466#M683261</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-10T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145467#M683262</link>
      <description>&amp;gt;Its an old application which had been working for at least 5/10 years I believe.&lt;BR /&gt;&lt;BR /&gt;The aCC6 compiler is better at catching errors, aCC5 ignored the duplicate.&lt;BR /&gt;&lt;BR /&gt;Before you ported to 64 bit, have you compiled with aCC6 just to see what messages you got?</description>
      <pubDate>Wed, 10 Dec 2008 19:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145467#M683262</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-10T19:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145468#M683263</link>
      <description>no. They just gave me the code and told me to compile it in new system...&lt;BR /&gt;I am not sure what version of acc they have used for the old system.&lt;BR /&gt;one thing is if i commented out the 2nd line it compiles but i am afraid that the application will not do what it suppose to do if i comment out lines like these, as they have used same kind of duplicate declration in many places....</description>
      <pubDate>Wed, 10 Dec 2008 19:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145468#M683263</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-10T19:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145469#M683264</link>
      <description>&amp;gt;I am not sure what version of aCC they have used for the old system.&lt;BR /&gt;&lt;BR /&gt;It is obsolete aCC5.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;but I am afraid that the application will not do what it suppose to do if I comment out lines like these&lt;BR /&gt;&lt;BR /&gt;aCC5 seems to ignore the second one.</description>
      <pubDate>Wed, 10 Dec 2008 20:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145469#M683264</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-10T20:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145470#M683265</link>
      <description>I was able to do a aCC - V in the old system and in the new too&lt;BR /&gt;&lt;BR /&gt;OLD:&lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.63&lt;BR /&gt;&lt;BR /&gt;New:&lt;BR /&gt;aCC: HP C/aC++ B3910B A.06.15 [May 16 2007]</description>
      <pubDate>Wed, 10 Dec 2008 21:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145470#M683265</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-10T21:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145471#M683266</link>
      <description>&amp;gt;A.03.63&lt;BR /&gt;&lt;BR /&gt;This is aCC3, it has the similar problems as aCC5.</description>
      <pubDate>Wed, 10 Dec 2008 21:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145471#M683266</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-10T21:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: error #2247: member has already been defined</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145472#M683267</link>
      <description>I guess its then the compiler. I have actually created a second line like the error in the header so that it was defined twice in header and that has stopped the error in the cpp.&lt;BR /&gt;&lt;BR /&gt;Hopefully this will work.&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2008 14:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-2247-member-has-already-been-defined/m-p/5145472#M683267</guid>
      <dc:creator>Anwarul Kabir</dc:creator>
      <dc:date>2008-12-11T14:53:54Z</dc:date>
    </item>
  </channel>
</rss>

