From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: RHIDE: Strange Behaviour Date: Wed, 11 Dec 1996 10:54:12 +0100 Organization: TU Chemnitz-Zwickau Lines: 33 Message-ID: <32AE84C4.68C3@Mathematik.tu-chemnitz.de> References: <58bc1n$c64 AT cherry DOT news DOT easynet DOT net> <32AC6EDE DOT 41C6 AT alpha DOT bgsu DOT edu> NNTP-Posting-Host: panic.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bradley Searles DJ-Gateway: from newsgroup comp.os.msdos.djgpp Bradley Searles wrote: > > I have had some odd behaviour with Rhide as of late... I am using .cxx > files, and when i go to compile them, if there is an error, when i go to > jump to the source code, it opens a file named [filename].cc instead of > the file [filename].cxx. It seems to compile fine otherwise. I even > did local info on all of the files and changed the compiler from auto to > c++ compiler. hmmm... any ideas would be appreciated. I have tried your problem and couldn't reproduce it. Because '.cxx' is a valid C++ suffix, you don't need to change any in the local options. And for me RHIDE (and of course also gcc) compiles '.cxx'-files correct as C++ files. And if there is an error when compiling, I get an error message in the Message window with the correct filename. So I don't what happened for you, except, that you posted here something with wrong words. The above can happen, when you link (NOT compiling) the program and you get some errors from the linker. In this case you should know about the bug of gcc, that it emits (independent of the name of your C++ source file) the filename with suffix '.cc' to the object file and the linker sees only the object files and takes the names from there, not the real name. Solution: Change your source file to have the suffix '.cc'. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************