This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[ghogenso@u.washington.edu: Problems with .cpp extension: minor annoyances]



Is this the desired behavior?  gcc *does* support a lot of file
extensions for each language.

Return-Path: <ghogenso@u.washington.edu>
X-Sender: ghogenso@stein2.u.washington.edu
Date: Tue, 27 Sep 1994 10:25:42 -0700 (PDT)
From: Gordon Hogenson <ghogenso@u.washington.edu>
Sender: Gordon Hogenson <ghogenso@u.washington.edu>
Reply-To: Gordon Hogenson <ghogenso@u.washington.edu>
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