From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: enum and djgpp Date: Thu, 10 Apr 1997 07:21:16 -0700 Organization: Two pounds of chaos and a pinch of salt Lines: 23 Message-ID: <334CF75C.3421@cs.com> References: <97Apr10.163824gmt+0100 DOT 21894 AT internet01 DOT amc DOT de> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp223.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Chris Croughton wrote: > > Sorry, totally wrong. The extension for C++ with the GNU and > DJGPP compilers is .cc, .cxx or .C (note the capital C), .cpp > isn't recognised (Borland C++ does require .cpp). Alternatively > you can specify the option -x c++, but that then compiles > all following files as C++. DJGPP also recognizes the .cpp filename extension. There is, however, a known bug in the linker that interferes with debugging programs that have anything other than .cc as the extension. -- John M. Aldrich * Anything that happens, happens. * Anything that, in happening, causes something else to happen, causes something else to happen. * Anything that, in happening, causes itself to happen again, happens again. * It doesn't necessarily do it in chronological order, though. --- Douglas Adams