From: sparhawk AT eunet DOT at (Gerhard Gruber) Newsgroups: comp.os.msdos.djgpp Subject: Re: .cc and Rhide problems? Date: Wed, 20 May 1998 19:06:51 GMT Organization: Customer of EUnet Austria Lines: 36 Message-ID: <35662835.2662945@news.Austria.EU.net> References: NNTP-Posting-Host: e125.dynamic.vienna.at.eu.net 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 Precedence: bulk Destination: "B. Cloman" From: Gruber Gerhard Group: comp.os.msdos.djgpp Date: Tue, 19 May 1998 17:44:11 -0700: >I just started using Djgpp. It seems to work fine with c files, however I >get problems when working with cpp files. > >I work with mvc++ at school. Bring the files home and put them in a >project in Rhide. When I compile the program it get multiple definitions >errors for ever functions. When I click on the error I am taken to a file >with the same name as my cpp file but with a .cc ending on it instead. >This .cc file is empty. > >I tried renaming the .cpp files to .cc files but get same errors. Can any >of you smart people help me? I'm not exactly sure what problem you really have. I usually mangle also MVC and GCC. I simply set up a RHIDE project and enter all the sourcefiles (*.cc), I want to work with, into the project. When I switch to MVC I create a seperate directory, create a new project with MVC, copy all the *.cc and *.h files to that directory (and rename the *.cc to *.cpp) and include this files into the MVC project space. This works without problem, you just have to remember which version is the current one. :) If RHIDE would support *.gcc with debugging the renaming would be obsolet (MVC doesn't understand anything except *.cpp). Hope this helps. -- Bye, Gerhard email: sparhawk AT eunet DOT at g DOT gruber AT sis DOT co DOT at Spelling corrections are appreciated.