www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/15/09:35:06

Message-Id: <m0ywRel-000S4gC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: dbagpc AT aol DOT com (DBA GPC), djgpp AT delorie DOT com
Date: Wed, 15 Jul 1998 10:39:54 +0000
MIME-Version: 1.0
Subject: Re: compiler line number mismatch
In-reply-to: <1998071504264200.AAA01760@ladder01.news.aol.com>

dbagpc AT aol DOT com (DBA GPC) wrote:

> when i receive an error or message, the line number reported in the message
> does not match the line number in the source file.  I have noticed that a blank
> line is not counter by the compiler, and this makes it very very difficult to
> locate compiler errors because the compiler line number and rhide editor line
> number do not match.  does any one have a solution to this problem or issues. 
> thanks in advance

Strange ... Only one thing comes to my mind: If you are using gcc 
2.8.x and you have multiline strings inside macros like this:

#define XX "That's \
a long \
string"

The gcc 2.8.x preprocessor will fail to report the lines because 
doesn't join the string. That's a bug in 2.8.x.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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