Re: C++

New Message Reply Date view Thread view Subject view Author view

Hansong Zhang (zhangh++at++cs.unc.edu)
Thu, 27 Jun 1996 10:47:10 -0400 (EDT)


Or call Iostream_init() before using any iostream function and
go on linking with cc.

Hansong
>
>
> The problem that you are encountering is that you are linking with
> cc (C) instead of CC (C++). It is possible with a Performer Makefile
> to compile with C++ and then link with C. Don't ask me why this is so.
> We fixed this by changing the ${CC} references at the end of the make
> file to ${C++}. Hope this helps!
>
>
>
> On Thu, 27 Jun 1996 wasileskib++at++adadv1.mdc.com wrote:
>
> > Hopefully this is a simple question.
> > I have come across a problem that only seems to
> > show up within performer regarding C++ iostreams.
> > Anytime cout, cin or any file stream is called within
> > a performer app, the app dumps.
> > For any sample test case; take ANY performer C++
> > routine from the pguide directory... add the line
> > cout << "TEST CASE" << endl;
> >
> > be sure to include the <iostream.h>
> >
> > add this line to the first few lines of the main...
> > It will dump as soon as it hits this line...
> > then comment it out and the code will run...
> > Does anyone know what is causing this?
> >
> > - Bryan Wasileski
> > McDonnell Douglas Training Systems
> >

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
            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:53:05 PDT

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