Send inn-workers mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."
Today's Topics:
1. Re: INN snapshot failures (Russ Allbery)
----------------------------------------------------------------------
Message: 1
Date: Sun, 15 Oct 2017 21:12:54 -0700
From: Russ Allbery <[email protected]>
To: Julien ?LIE <[email protected]>
Cc: [email protected]
Subject: Re: INN snapshot failures
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Julien ?LIE <[email protected]> writes:
> Hi Russ,
>> lex.yy.c: In function 'yy_get_next_buffer':
>> lex.yy.c:667:18: error: comparison between signed and unsigned integer
>> expressions [-Werror=sign-compare]
>> lex.yy.c:1316:3: note: in expansion of macro 'YY_INPUT'
>> cc1: all warnings being treated as errors
> New flex version shipped with Stretch defines n as size_t whereas it was
> defined as int in previous version:
> #define YY_INPUT(buf,result,max_size) \
> if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
> { \
> int c = '*'; \
> int n; \
> for ( n = 0; n < max_size && \
> (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
> Yet, max_size is an int in both versions...
Oh, right, I remember this now. And it's fixed in current flex, which now
declares n as size_t.
> Yet, it may break with another versions of flex...
> Maybe the best way would be to disable the sign-compare check for that
> file? (with a sed command adding the relevant gcc pragma at the beginning
> of the file?)
Yeah, that seems like the right fix. Shouldn't be a need for a sed
command, since flex adds the C preamble. I've just now committed a fix
for both branches.
Apologies for the delay -- life has been pretty busy lately.
--
Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/>
------------------------------
Subject: Digest Footer
_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers
------------------------------
End of inn-workers Digest, Vol 99, Issue 3
******************************************