This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stdio synching and startup code (was Re: segfaults after loading shared libstdc++)


Phil Edwards <pedwards@disaster.jaj.com> writes:

| On Wed, Jan 10, 2001 at 12:54:16AM -0800, Benjamin Kosnik wrote:
| > 
| > http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00164.html
| > http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00255.html
| 
| Yeah, I'd just finished looking at those.  I must say, code like
| 
|     new (&cin) istream(_M_cin);
| 
| just looks *freaky* weird.  :-)  Placement new over an I/O object...!

You're right.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]