www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/10/22:58:57

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
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 <fighteer AT cs DOT com>                      

* 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019