Re: g++ compiler generated copy constructor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
   I'm maintaining an old C++ library code (written in around 2002) ,
I get segfaults in constructor. The default constructors are generated
by the compiler. When i compile the program with
fno-elide-constructors it works without any problem ie it runs fine. I
want to see what is happening with the constructor and why it is
segfaulting. It is probably the RVO kicking in and changing the
reference counting the library implements.

Regards,
Navin




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux