is there any known issue about gcc3.2 handling exception?

Discussion in 'C++' started by John Black, Aug 26, 2004.

  1. John Black

    John Black Guest

    Hi,
    I have a code using exception, it works great on Solaris using Forte
    compiler, but on Linux using gcc3.2, there are some strange problem
    which ends up "segment fault", I am tracking the problem, but I have a
    feeling it's because of the exception.

    Is there any known issue of this? Is it better for me not use
    exception if I want to port the code to Linux?

    Thanks.
     
    John Black, Aug 26, 2004
    #1
    1. Advertisements

  2. [ot] Re: is there any known issue about gcc3.2 handling exception?

    John Black wrote:

    > Hi,
    > I have a code using exception, it works great on Solaris using Forte
    > compiler, but on Linux using gcc3.2, there are some strange problem
    > which ends up "segment fault", I am tracking the problem, but I have a
    > feeling it's because of the exception.
    >
    > Is there any known issue of this? Is it better for me not use
    > exception if I want to port the code to Linux?
    >
    > Thanks.
    >

    This is o.t to the current n.g. That said, it is difficult to
    believe that exception handling in gcc would be the cause of your seg.
    fault. You would probably want to trace it before you conclude the same.


    --
    Karthik.
     
    Karthiik Kumar, Aug 28, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jack
    Replies:
    7
    Views:
    802
  2. lime
    Replies:
    2
    Views:
    552
  3. James Ying
    Replies:
    2
    Views:
    818
    James Ying
    Oct 28, 2003
  4. Philip Goisman
    Replies:
    5
    Views:
    667
    Jonathan Turkanis
    Jan 22, 2004
  5. Bart Blommerde

    using hash_set in gcc3.3

    Bart Blommerde, Oct 13, 2004, in forum: C++
    Replies:
    5
    Views:
    672
    John Harrison
    Oct 13, 2004
  6. Replies:
    2
    Views:
    467
    red floyd
    May 18, 2005
  7. kscho

    inline assem problem with -fPIC gcc3.3.1

    kscho, Oct 9, 2003, in forum: C Programming
    Replies:
    1
    Views:
    435
    Dan Pop
    Oct 9, 2003
  8. Nathan Sokalski
    Replies:
    15
    Views:
    830
Loading...