🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: (none)

#466
From: Doug Schmidt
Date: Wed, 04 Oct 1989 04:34
30 lines
1392 bytes
In article <8910040028.AA01285@flora.CCS.Northeastern.EDU>, kenb@flora (kenneth baclawski) writes:
>/*
>     Problem with GNU C++ virtual conversion operators
[omitted]

You need to get the latest g++ (1.36.0-)

% /usr/gnu/g++ virt-test.cc -lg++
% a.out
z::convert()
y::convert()
z::operator x()
y::operator x()

Note also that you'll need to either 

#include <stdio.h> 

or say 

extern "C" void printf (const char*, ...);

since g++ now mangles names a la cfront 2.0.

Doug
--
schmidt@ics.uci.edu (ARPA) |   Per me si va nella citta' dolente.
office: (714) 856-4043     |   Per me si va nell'eterno dolore.
                           |   Per me si va tra la perduta gente.
                           |   Lasciate ogni speranza o voi ch'entrate.
Technical Details
Message-ID: <1989Oct4.043445.9380@paris.ics.uci.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!ucla-cs!uci-ics!news
References: <8910040028.AA01285@flora.CCS.Northeastern.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!ucla-cs!uci-ics!news
From: schmidt@zola.ics.uci.edu (Doug Schmidt)
Newsgroups: gnu.g++.bug
Subject: Re: (none)
Message-ID: <1989Oct4.043445.9380@paris.ics.uci.edu>
Date: 4 Oct 89 04:34:45 GMT
References: <8910040028.AA01285@flora.CCS.Northeastern.EDU>
Sender: news@paris.ics.uci.edu (Network News)
Reply-To: schmidt@zola.ics.uci.edu (Doug Schmidt)
Distribution: gnu
Organization: University of California, Irvine - Dept of ICS
Lines: 30
In-reply-to: kenb@flora.ccs.northeastern.edu (kenneth baclawski)