From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Date: Mon, 15 May 2000 23:34:08 +0100 Organization: Customer of Planet Online Lines: 10 Message-ID: References: <391F1402 DOT 31B7D4A6 AT mtu-net DOT ru> <391F4A04 DOT 176163E5 AT mtu-net DOT ru> <18t0is0nmf2ceu5btrqp5rb9cfmfg8kki5 AT 4ax DOT com> NNTP-Posting-Host: modem-29.lawrencium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg3.svr.pol.co.uk 958430114 5667 62.136.71.29 (15 May 2000 22:35:14 GMT) NNTP-Posting-Date: 15 May 2000 22:35:14 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jason Green wrote: > You could try using a typedef to fool Borland C++ into accepting code > using the STL complex type: > > typedef std::complex complex; Oops! Spot the deliberate mistake. ;-) That typedef should let you use Borland code under DJGPP.