Thread View: comp.sys.sgi.bugs
2 messages
2 total messages
Started by Mike Hollick
Wed, 27 Jan 1993 14:45
C++ 3.0 Bug?
Author: Mike Hollick
Date: Wed, 27 Jan 1993 14:45
Date: Wed, 27 Jan 1993 14:45
29 lines
1061 bytes
1061 bytes
Hello:
The following code compiles fine under C++ 2.1.1:
#include <iostream.h>
main()
{
char a = 'a';
cout << a << '\n';
}
However, under C++ 3.0 I get errors:
/usr/bin/ld:
Undefined:
ostream::ls_complicated(char)
I've tried linking with libC but I get the same problem. Is this a
bug, or do I need to link/include something new? I've checked the
release notes but saw nothing applicable. Thanks for any help!
--> Mike Hollick
--- Systems Programmer
--- University of Pennsylvania Computer Graphics Research Laboratory
Re: C++ 3.0 Bug?
Author: Steve Rooke
Date: Thu, 28 Jan 1993 01:11
Date: Thu, 28 Jan 1993 01:11
29 lines
1235 bytes
1235 bytes
In article <106794@netnews.upenn.edu>, hollick@thumper.cis.upenn.edu (Mike Hollick) writes:
> [...]
>The following code compiles fine under C++ 2.1.1:
>
>#include <iostream.h>
>main()
>{
> char a = 'a';
> cout << a << '\n';
>}
>
>However, under C++ 3.0 I get errors:
>
>/usr/bin/ld:
>Undefined:
>ostream::ls_complicated(char)
>
>--> Mike Hollick
I had exactly this problem when I first received C++ 3.0, under IRIX 4.0.1.
It was due to having an incompatible version of libC.a, which is not included
on the C++ 3.0 distribution, but rather is part of IDO (dev.sw.libC).
When the next 4.0.XXX CD arrived, it updated libC.a, and the problem went
away.
==> IDO 4.1 is required for C++ 3.0.
--
Steve Rooke (Internet: rooke@noao.edu or UUCP: uunet!noao.edu!rooke)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads