X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: making dxe2gen with clio.rice.edu binaries -or- "undefined reference to 'operator'"? Date: Fri, 05 Apr 2002 08:19:42 +0300 Lines: 10 Message-ID: <3CAD33EE.91D8010C@is.elta.co.il> References: <3ca78d87$0$364$9b622d9e AT news DOT freenet DOT de> <3cab2f26$0$152$9b622d9e AT news DOT freenet DOT de> <3cace922$0$12701$9b622d9e AT news DOT freenet DOT de> NNTP-Posting-Host: 192.116.55.139 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1017984244 30118965 192.116.55.139 (16 [61365]) X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com deckerben wrote: > > I was hoping for a way that DJGPP could see the difference and adapt itself > 'on-the-fly' as they say. > > Some compilers know, for instance, that they should automaticly try a full > C++ convention with source files that have the .cpp file extension, and an > ANSI C convention when they end with .c So does GCC. See section 8.5 of the DJGPP FAQ list.