<?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: core dump using aCC 3.45 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-using-acc-3-45/m-p/3104325#M717467</link>
    <description>IMHO, because -D&amp;lt;...&amp;gt; goes for #define&amp;lt;...&amp;gt;&lt;BR /&gt;and not for #if defined (which I don't know if supported at all by hp prepoccessor - use #ifdef instead).</description>
    <pubDate>Tue, 28 Oct 2003 10:50:01 GMT</pubDate>
    <dc:creator>Zeev Schultz</dc:creator>
    <dc:date>2003-10-28T10:50:01Z</dc:date>
    <item>
      <title>core dump using aCC 3.45</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-using-acc-3-45/m-p/3104324#M717466</link>
      <description>Hi,&lt;BR /&gt;I try to compile the following simplified example using aCC 3.45:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// begin example&lt;BR /&gt;#include &lt;STRING&gt;                &lt;BR /&gt;                                                  &lt;BR /&gt;namespace CARMA {                                 &lt;BR /&gt;   typedef string ResultSet;                      &lt;BR /&gt;}                                                 &lt;BR /&gt;                                                  &lt;BR /&gt;typedef string tPaCreditLimitKey;                                                  &lt;BR /&gt;class cPaCreditLimit &lt;BR /&gt;{                                                 &lt;BR /&gt;public:                                        &lt;BR /&gt;   cPaCreditLimit();&lt;BR /&gt;   public:                                        &lt;BR /&gt;   virtual ~cPaCreditLimit()&lt;BR /&gt;   {};&lt;BR /&gt;&lt;BR /&gt;public:                                        &lt;BR /&gt;   tPaCreditLimitKey read1(CARMA::ResultSet&amp;amp; rdr);&lt;BR /&gt;   tPaCreditLimitKey read2(CARMA::ResultSet&amp;amp; rdr);&lt;BR /&gt;};                                                &lt;BR /&gt;                                             &lt;BR /&gt;#if defined R1                                    &lt;BR /&gt;tPaCreditLimitKey cPaCreditLimit::read1(CARMA::Resultset&amp;amp; rdr)&lt;BR /&gt;{&lt;BR /&gt;   return string("A");&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;#if defined R2&lt;BR /&gt;tPaCreditLimitKey cPaCreditLimit::read2(ResultSet&amp;amp; rdr)&lt;BR /&gt;{&lt;BR /&gt;   return string("A");&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;BR /&gt;// end example&lt;BR /&gt;&lt;BR /&gt;Within implementation of read1 there is a typo for ResultSet, within read2 namespace CARMA is missing.&lt;BR /&gt;&lt;BR /&gt;As well &lt;BR /&gt;aCC test.cpp -DR1&lt;BR /&gt;as&lt;BR /&gt;aCC test.cpp -DR2&lt;BR /&gt;result in a core dump of the compiler instead of any error message giving a hint to the real error.&lt;BR /&gt;aCC test.cpp&lt;BR /&gt;has no problem.&lt;BR /&gt;&lt;BR /&gt;Has anyone any idea whether there is a compile flag or compiler patch or whatever to solve this problem?&lt;BR /&gt;Help would be greatly appreciated.&lt;BR /&gt;Ludger.&lt;/STRING&gt;</description>
      <pubDate>Tue, 28 Oct 2003 10:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-using-acc-3-45/m-p/3104324#M717466</guid>
      <dc:creator>Atos Origin Entwicklung</dc:creator>
      <dc:date>2003-10-28T10:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: core dump using aCC 3.45</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-using-acc-3-45/m-p/3104325#M717467</link>
      <description>IMHO, because -D&amp;lt;...&amp;gt; goes for #define&amp;lt;...&amp;gt;&lt;BR /&gt;and not for #if defined (which I don't know if supported at all by hp prepoccessor - use #ifdef instead).</description>
      <pubDate>Tue, 28 Oct 2003 10:50:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-using-acc-3-45/m-p/3104325#M717467</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-10-28T10:50:01Z</dc:date>
    </item>
  </channel>
</rss>

