nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] Nano with Line Numbering


From: Faissal Bensefia
Subject: Re: [Nano-devel] Nano with Line Numbering
Date: Thu, 08 Sep 2016 21:10:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0


On 08/09/16 20:31, Benno Schulenberg wrote:
> 
> On Wed, Sep 7, 2016, at 10:52, Benno Schulenberg wrote:
>> Attached is a tweaked patch.
> 
> Sorry, I forgot to 'git commit --amend' a fragment.
> The attached version is better.
> 
> Also, it should be possible to activate the line numbers
> with a command-line option, say -l or --linenumbers.
> 
> Benno
> 

Still not compiling:
    In file included from proto.h:25:0,
                     from winio.c:23:
    winio.c: In function ‘edit_draw’:
    winio.c:2286:17: error: ‘LINE_NUM’ undeclared (first use in this
function)
           if (ISSET(LINE_NUM)) {
                 ^
    nano.h:60:29: note: in definition of macro ‘FLAGS’
     #define FLAGS(flag) flags[((flag) / (sizeof(unsigned) * 8))]
                             ^
    winio.c:2286:11: note: in expansion of macro ‘ISSET’
           if (ISSET(LINE_NUM)) {
               ^
    winio.c:2286:17: note: each undeclared identifier is reported only
once for each function it appears in
           if (ISSET(LINE_NUM)) {
                     ^
    nano.h:60:29: note: in definition of macro ‘FLAGS’
     #define FLAGS(flag) flags[((flag) / (sizeof(unsigned) * 8))]
                             ^
    winio.c:2286:11: note: in expansion of macro ‘ISSET’
           if (ISSET(LINE_NUM)) {

~Faissal Bensefia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]