www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/13/18:15:33

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: <m0zziH7-000S2JC AT inti DOT gov DOT ar>
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 <m0zziH7-000S2JC AT inti DOT gov DOT ar>,
Salvador Eduardo Tropea (SET) <djgpp AT delorie DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019