<?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: strange ld error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025490#M718837</link>
    <description>So happy that I find solution by myself.&lt;BR /&gt;The problem is exception handling in g++ is still under development. Refer to this url(&lt;A href="http://theoryx5.uwinnipeg.ca/gnu/gcc/gxxint_13.html)" target="_blank"&gt;http://theoryx5.uwinnipeg.ca/gnu/gcc/gxxint_13.html)&lt;/A&gt; for detail.&lt;BR /&gt;To slove the problem, use compilee option -fno-rtti</description>
    <pubDate>Wed, 16 Jul 2003 16:01:16 GMT</pubDate>
    <dc:creator>minglei yuan</dc:creator>
    <dc:date>2003-07-16T16:01:16Z</dc:date>
    <item>
      <title>strange ld error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025488#M718835</link>
      <description>when I compiling following codes, I got a  ld error: &lt;BR /&gt;"Unsatisfied symbols: typeinfo for eaException"&lt;BR /&gt;  &lt;BR /&gt;  try {&lt;BR /&gt;    .....&lt;BR /&gt;  } catch (::eaException&amp;amp; ea) {&lt;BR /&gt;    cout &amp;lt;&amp;lt; ea.getId() ;&lt;BR /&gt;    return -1;&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;I have made sure the eaException lib was linked with -leaException option, and it can be proved by successfully compiling following code:&lt;BR /&gt;int main() {&lt;BR /&gt;  eaException ex;&lt;BR /&gt;  ex.getId();&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;So, my question is:&lt;BR /&gt;Is there any difference in c++ when use a exception class in "try.. catch.." expression or declare as a normal variable?&lt;BR /&gt;why the ld can't find eaException properly?&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jul 2003 14:31:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025488#M718835</guid>
      <dc:creator>minglei yuan</dc:creator>
      <dc:date>2003-07-16T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: strange ld error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025489#M718836</link>
      <description>by the way, I am using gcc 3.2.3 on hp11</description>
      <pubDate>Wed, 16 Jul 2003 14:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025489#M718836</guid>
      <dc:creator>minglei yuan</dc:creator>
      <dc:date>2003-07-16T14:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: strange ld error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025490#M718837</link>
      <description>So happy that I find solution by myself.&lt;BR /&gt;The problem is exception handling in g++ is still under development. Refer to this url(&lt;A href="http://theoryx5.uwinnipeg.ca/gnu/gcc/gxxint_13.html)" target="_blank"&gt;http://theoryx5.uwinnipeg.ca/gnu/gcc/gxxint_13.html)&lt;/A&gt; for detail.&lt;BR /&gt;To slove the problem, use compilee option -fno-rtti</description>
      <pubDate>Wed, 16 Jul 2003 16:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025490#M718837</guid>
      <dc:creator>minglei yuan</dc:creator>
      <dc:date>2003-07-16T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: strange ld error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025491#M718838</link>
      <description>Too bad you can't assign points to yourself.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 16 Jul 2003 17:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-ld-error/m-p/3025491#M718838</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2003-07-16T17:30:56Z</dc:date>
    </item>
  </channel>
</rss>

