Path: utzoo!mnetor!uunet!mcvax!targon!wim
From: wim@targon.UUCP (Wim C. J. van Eerdt)
Newsgroups: comp.lang.c++
Subject: Another C++ problem, solved (?)
Message-ID: <368@targon.UUCP>
Date: 8 Dec 87 15:33:45 GMT
Reply-To: wim@targon.UUCP (Wim C. J. van Eerdt)
Organization: Nixdorf Computer BV., OSP, P.O. Box 29,Vianen, The Netherlands
Lines: 27

I did get yet another file from my colleague Gerard.
As in other articles stated send he is not reachable by e-mail.
I shall forward your mail!
Success and have fun!

		Wim
--------Fix---------------------------------------------------------
Author: Gerard van Dorth
Subject:  Another C++ problem, solved (?)

> Yet another crazy C++ problem
> ...
> The below code is a generalization of a problem we are seeing with C++
> ...

Substitute the line
		Pfct f = Pfct(Pptr(q->tp)->typ);
in routine call::simpl of the file simpl.c by
		Ptype pt = q->tp;
		while (pt->base == TYPE) pt = Pbase(pt)->b_name->tp;
		Pfct f = Pfct(Pptr(pt)->typ);	// for basic type only.

(Simpl(e) turns out to be hard).
-- 
	Wim van Eerdt                   E-mail: mcvax!targon!wim
	OSP, Nixdorf Computer Bv, Postbus 29, 4130 EA Vianen
	Nederland. Tel.: +31 3473 62211.