[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Short Orphan Lines
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Short Orphan Lines |
Date: |
Wed, 05 May 2004 20:07:18 +0200 (CEST) |
> > g++2 -I. -I. -I/Users/rgouldin/groff/src/include
> > -I/Users/rgouldin/groff/src/include -DHAVE_CONFIG_H -DWIDOW_CONTROL -g
> > -O2 -c env.cpp
> > env.cpp: In method `void environment::mark_last_line()':
> > env.cpp:176: name lookup of `p' changed for new ANSI `for' scoping
> > env.cpp:174: using obsolete binding at `p'
> > make[2]: *** [env.o] Error 1
> > make[1]: *** [src/roff/troff] Error 2
> > make: *** [all] Error 2
> >
> > Is there a simple fix for this (an additional flag etc.)?
>
> Looking at the code, it looks like the pointer `p' in the
> environment::mark_last_line() method hasn't been declared.
> The fix might be as simple as declaring p at the beginning
> of the method. ("pending_output_line *p;" between the { and
> the if statement)
Correct. I've fixed it in the CVS.
Werner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Groff] Short Orphan Lines,
Werner LEMBERG <=