Re: cout & Performer crashes

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (scott++at++ht.com)
Mon, 4 Aug 1997 11:54:28 -0400 (EDT)


> > I am using CC. Every othere c++ feature works fine.
> >
> > cerr doesn't work either.
> >
> > this is where dbx says the crash is:
> >
> > > 0 ostream::operator<<(const char*)(0xf8b6dd8, 0x1000733c, 0x7fff2f6c, 0x7fff2f6c) ["../stream/out.c++":259, 0xf898748]
> > 1 main(argc = 1, argv = 0x7fff2f64)
> > ["/usr/people/ethan/midas/tinyMidas/tinyMidas.c++":29, 0x42579c]
> > 2 __istart() ["crt1tinit.s":13, 0x425700]
> >
> >
> > Any ideas why cout doesn't work?
> > has anyone else had this problem?
>
> Stick in Iostream_init() just after pfInit()
>
> Swami

I am pretty sure this very problem was discussed in this group a few _years_
ago. If memory serves...

I still think the original poster was _LINKING_ (not compiling) with cc.
This call to Iostream_init() should not be necessary if linked with CC.

scott

-- 
  Scott McMillan  |    HT Medical, Inc.   | Developing medical VE's
   scott++at++ht.com   |   http://www.ht.com   | surgical simulations
 Ph: 301-984-3706 |6001 Montrose Rd., #902| and surgery simulation
Fax: 301-984-2104 |  Rockville, MD 20852  | creation tools.
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:42 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.