🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #260

Must already have been reported but...

#260
From: Russel Winder
Date: Tue, 14 Apr 1992 18:10
33 lines
1181 bytes
I don't believe the following can be correct, the code is:

#include <std.h>
#include <iostream.h>

main()
{
    cout << oct << 16 << endl ;
}

The message is:

g++ trial.cc
trial.cc: In function `int  main ()':
trial.cc:6: type conversion required for type `ostream'

Compilation exited abnormally with code 1 at Tue Apr 14 17:07:24

Using g++ configered with ./configure --target=sparc-sun-sunos4.1

Russel.

==========================================================================

Dr Russel Winder		(InterNet: R.Winder@cs.ucl.ac.uk)
Department of Computer Science	(UUCP: {...mcsun!ukc!}ucl-cs!R.Winder)
University College London	(JANet: R.Winder@uk.ac.ucl.cs)
Gower Street
London WC1E 6BT
England

Phone: +44 (0)71 380 7293
Fax: +44 (0)71 387 1397
Technical Details
Message-ID: <9204141612.AA03057@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.ucl.ac.uk!R.Winder

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.ucl.ac.uk!R.Winder
From: R.Winder@cs.ucl.ac.uk (Russel Winder)
Subject: Must already have been reported but...
Message-ID: <9204141612.AA03057@life.ai.mit.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 14 Apr 1992 18:10:42 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 34