Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!merch!cpe!hal6000!trsvax!johnm From: johnm@trsvax.UUCP Newsgroups: comp.lang.c++ Subject: Re: Zortech C++ bug Message-ID: <194400004@trsvax> Date: 6 Mar 89 15:29:00 GMT References: <5@hite386.UUCP> Lines: 20 Nf-ID: #R:hite386.UUCP:5:trsvax:194400004:000:647 Nf-From: trsvax.UUCP!johnm Mar 6 09:29:00 1989 Ok, here's my problem with Zortech 1.07: I'm trying to port Gorlen's classes to the PC and he has several declarations like this in the file object.h... overload MAX; inline int MAX(int x, int y) { return...); inline long MAX(long x, long y) { return...); . . . Zortech balks at this and says that the second (and all subsequent occurances) of MAX were previously declared as something else. Since one of Mr. Bright's primary critieria for the correctness of something is whether it goes through the AT&T compiler, this would seem to be a bug. After all, these were developed on AT&T cfront 1.2.1 (it says so in the docs). John Munsch