Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!ub.d.umn.edu!rutgers!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!uw-beaver!zephyr.ens.tek.com!tektronix!reed!news From: news@reed.UUCP (news) Newsgroups: comp.os.msdos.programmer Subject: Maintenance release for TC++ (was Re: Possible bug in Turbo C++ dealing with inline functions returning) Summary: its fixed Message-ID: <15592@reed.UUCP> Date: 22 Oct 90 23:56:34 GMT References: <15588@reed.UUCP> Reply-To: minar@reed.bitnet (Nelson Minar) Organization: Reed College, Portland, OR Lines: 20 Well, I found the answer to my bug, thanks to a tip from a Borland tech type who saw my message on the Net (thanks! Hoping for more complete Net support in the near future..) From: minar@reed.bitnet (Nelson Minar,L08,x640,7776519) Path: minar There is an honest-to-god Bug in the compiler that prevents functions that conditionally return class instances from being inlined (ie: Foo test(int x) { return x == 1 ? Foo(4) : Foo(3); } won't inline, reporting 'destructor required') Borland has a maintenance release called Turbo C++ 1.01. It is NOT a patch, and is definitely not that series of patches for libraries and such. One can get it by calling Borland, but I think you have to call tech support (the 800 number just told me to call tech support) Its a free 'upgrade,' but the disks were on backorder: 2 weeks they told me. I do not know if other bugs were fixed. __ \/ minar@reed.bitnet You know in your heart its flat.