From mboxrd@z Thu Jan 1 00:00:00 1970 From: dj@stealth.ctron.com (DJ Delorie) To: gas2@cygnus.com Subject: [ghogenso@u.washington.edu: Problems with .cpp extension: minor annoyances] Date: Wed, 28 Sep 1994 04:39:00 -0000 Message-id: <9409281141.AA06727@delorie> X-SW-Source: 1994/msg00115.html Is this the desired behavior? gcc *does* support a lot of file extensions for each language. Return-Path: X-Sender: ghogenso@stein2.u.washington.edu Date: Tue, 27 Sep 1994 10:25:42 -0700 (PDT) From: Gordon Hogenson Sender: Gordon Hogenson Reply-To: Gordon Hogenson Subject: Problems with .cpp extension: minor annoyances To: djgpp@sun.soe.clarkson.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII DJ-Mail-Sort: djgpp@, djgpp There are a few problems with the .cpp filename extension under DJGPP. It seems that the various utility programs don't deal well with it. ld reports errors with the wrong filename extension -- always 'foo.cc' even if the file is really 'foo.cpp'. It doesn't seem to be a serious problem with errors and warnings from ld, since I can easily tell what is meant [although I suppose editors that rely on this to locate a position in a source file will not work], but I find that GDB can't find the source files. It looks for 'foo.cc' when it should be looking for 'foo.cpp'. Gordon