Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" 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 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: compiler line number mismatch In-reply-to: <1998071504264200.AAA01760@ladder01.news.aol.com> Precedence: bulk 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