From: axlq AT unicorn DOT us DOT com (to comp.os.msdos.djgpp) Newsgroups: comp.os.msdos.djgpp Subject: Re: RHIDE corrupting an object file? Date: 13 Jan 1999 22:52:43 GMT Organization: a2i network Lines: 15 Message-ID: <77j83r$8k7$1@samba.rahul.net> References: NNTP-Posting-Host: waltz.rahul.net NNTP-Posting-User: unicorn To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article , Salvador Eduardo Tropea (SET) wrote: >axlq AT unicorn DOT us DOT com (to comp.os.msdos.djgpp) wrote: >> >> demo.o(5) Error: unterminated string or character constant >> >> demo.o(1) Error: possible real start of unterminated constant >> >> dfltmenu.o(1) Error: syntax error before character 01 > >Take a look to the .o file, I can bet it have the assembler code instead of The problem was the argument being passed to gcc during the link phase. -x c++ works fine for compiling, but using it with gcc during linking causes the errors above. -Alex