<?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 Errors in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736162#M100359</link>
    <description>Are you using namespaces?&lt;BR /&gt;&lt;BR /&gt;There was a bug that was found and fixed towards the end of last year that was related to how the compiler handled namespaces.&lt;BR /&gt;&lt;BR /&gt;I would suggest getting the latest version of the compiler installed.&lt;BR /&gt;</description>
    <pubDate>Tue, 21 Feb 2006 13:09:05 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2006-02-21T13:09:05Z</dc:date>
    <item>
      <title>Compilation Errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736160#M100357</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  I am getting the following error while compiling the code on HP UNX machine which has aCC 3.57.&lt;BR /&gt;&lt;BR /&gt;Error 698: Exact position unknown; near ["parser.C", line 194]. # The declarations "void *__catchTp_v[5]" and "void&lt;BR /&gt;    *std::__catchTp_v[5]" are both visible and neither is preferred under the name lookup rules.&lt;BR /&gt;Error 445: "parser.C", line 194 # Cannot recover from earlier errors.&lt;BR /&gt;*** Error exit code 2&lt;BR /&gt;&lt;BR /&gt;Can anybody please help me out on this ??&lt;BR /&gt;Earlier I have seen this error posted on this site long back but the solution given was code specific and not a general one.&lt;BR /&gt;Is there anything as a work around for the same on aCC 03.57 compiler.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jaya</description>
      <pubDate>Tue, 21 Feb 2006 11:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736160#M100357</guid>
      <dc:creator>Jaya Venkataramanappa</dc:creator>
      <dc:date>2006-02-21T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736161#M100358</link>
      <description>Jaya,&lt;BR /&gt;&lt;BR /&gt;Make sure your declarations follow the ASCII syntax for variable names. Names like __catchTp_v[5] (with square brackets and colons in them are not permissible).&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Tue, 21 Feb 2006 12:40:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736161#M100358</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-02-21T12:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736162#M100359</link>
      <description>Are you using namespaces?&lt;BR /&gt;&lt;BR /&gt;There was a bug that was found and fixed towards the end of last year that was related to how the compiler handled namespaces.&lt;BR /&gt;&lt;BR /&gt;I would suggest getting the latest version of the compiler installed.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Feb 2006 13:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736162#M100359</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-02-21T13:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736163#M100360</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;This is a known defect in the compiler which is fixed in later versions. Please install A.03.60 or later (the latest is A.03.65) and your problem will go away. &lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;-Ganesh &lt;BR /&gt;</description>
      <pubDate>Wed, 22 Feb 2006 01:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736163#M100360</guid>
      <dc:creator>SG Ganesh</dc:creator>
      <dc:date>2006-02-22T01:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736164#M100361</link>
      <description>Thanks for sending in the solutions..&lt;BR /&gt;As the aCC 3.57 compiler has problems with namespaces we have added the following declaration in the file and it's dependency files:&lt;BR /&gt;&lt;BR /&gt;namespace std {} using namespace std;&lt;BR /&gt;&lt;BR /&gt;Adding the above declaration for namespace the code has successfully compiled.</description>
      <pubDate>Tue, 07 Mar 2006 12:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736164#M100361</guid>
      <dc:creator>Jaya Venkataramanappa</dc:creator>
      <dc:date>2006-03-07T12:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736165#M100362</link>
      <description>&lt;!--!*#--&gt;I'm seeing the exact same error message (except for location) with aCC 03.60, after having upgraded from aCC 03.45 (where this error never occurred):&lt;BR /&gt;&lt;BR /&gt;"Error 698: Exact position unknown; near ["foo.cpp", line 147]. # The declarations "void *__catchTp_v[5]" and "void&lt;BR /&gt;    *std::__catchTp_v[5]" are both visible and neither is preferred under the name lookup rules."&lt;BR /&gt;&lt;BR /&gt;The method being complained about is declared in a namespace in the header file, and defined in the same namespace.  But so are other methods, so it might have something to do with the std::istream &amp;amp; param or std::string result.  However, when I try to make a small test case, I can't reproduce the error (in the amount of time I've got).&lt;BR /&gt;&lt;BR /&gt;foo.hpp:&lt;BR /&gt;namespace abc&lt;BR /&gt;{&lt;BR /&gt;   class Xyz&lt;BR /&gt;   {&lt;BR /&gt;   public:&lt;BR /&gt;      static std::string func( std::istream &amp;amp; is );&lt;BR /&gt;   };&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;foo.cpp:&lt;BR /&gt;#include "foo.hpp"&lt;BR /&gt;namespace abc&lt;BR /&gt;{&lt;BR /&gt;   std::string Xyz::func( std::istream &amp;amp; is )&lt;BR /&gt;   { return ""; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Compiling with "aCC -etx -g0 -AA".&lt;BR /&gt;&lt;BR /&gt;The workaround alluded to earlier, putting 'using namespace std;' in a header is not useable here: beyond the fundamental wrongness, it breaks other things.&lt;BR /&gt;&lt;BR /&gt;And, as it turns out, what was needed was the removal of file-scope instances of "using namespace std;".  Once I did that (and added "std::" to params, and function-scope "using namespace std;" as needed), the error disappeared -- which isn't too surprising when you read the error message.&lt;BR /&gt;&lt;BR /&gt;Anyway, that last paragraph (and the fact that the error occurs with A.03.60) is the news here.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jul 2006 17:15:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736165#M100362</guid>
      <dc:creator>Lorenzo del Oeste</dc:creator>
      <dc:date>2006-07-13T17:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation Errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736166#M100363</link>
      <description>&lt;!--!*#--&gt;Correction to my previous post:&lt;BR /&gt;&lt;BR /&gt;s/aCC -etx/aCC -ext/&lt;BR /&gt;&lt;BR /&gt;Larry&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jul 2006 18:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compilation-errors/m-p/3736166#M100363</guid>
      <dc:creator>Lorenzo del Oeste</dc:creator>
      <dc:date>2006-07-13T18:39:35Z</dc:date>
    </item>
  </channel>
</rss>

