Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!newcastle.ac.uk!colman!q143u From: J.D.Coleman@newcastle.ac.uk (Julian Coleman) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Problems using gcc ( dj1bin ) to compile c++ Keywords: gcc g++ C c++ dj1bin Message-ID: <1991Mar13.142224.5082@newcastle.ac.uk> Date: 13 Mar 91 14:22:24 GMT References: <1991Feb27.145341.18701@newcastle.ac.uk> <4143@stl.stc.co.uk> Sender: J.D.Coleman"newcastle.ac.uk Reply-To: J.D.Coleman"newcastle.ac.uk Followup-To: comp.binaries.ibm.pc.d Organization: Department of Surveying, University of Newcastle upon Tyne, UK. Lines: 11 Thanks to all who replied regarding the problem with GCC and c++ files. As was pointed out, GCC determines the file type by looking at it's extension. Giving a c++ file the extension '.cc' solves the problem we had with this. Thanks again, Julian +---------------------------+------------------------------------------+ | Julian Coleman | J.D.Coleman@newcastle.ac.uk | +---------------------------+------------------------------------------+