On May 28, 2001, "Howard Zhou" <[EMAIL PROTECTED]> wrote:

> Are these lines use by a parser? Or just comment lines?

They're mostly used to emit debugging information, so that the object
file points at the original file, as opposed to the generated file.
However, the preprocessor also uses these notes to look for headers
mentioned in `#include "header.h"' directives (compare with `#include
<header.h>', that causes the preprocessor to search only the default
search path, not do relative search).

> What I did actually to get around this problem was to comment out all lines
> proceeding with "#line" with /* */.
> It compiled ok. Did I do the right thing?

Yep, that works.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to