From: Pablo Neira Ayuso <pablo@netfilter.org>
To: NICOLAS BOULIANE <nicboul@gmail.com>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: [RFC] masquerading/conntrack
Date: Wed, 21 May 2008 16:04:51 +0200 [thread overview]
Message-ID: <48342C03.10204@netfilter.org> (raw)
In-Reply-To: <dd45289d0805210623s29f69e45t6fb8ac5b01622d82@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 865 bytes --]
NICOLAS BOULIANE wrote:
> Hi,
>
> thank you for your comments.
> ---
>
> Pablo:
>
> cc1: warnings being treated as errors
> read_config_lex.l: In function 'yylex':
> read_config_lex.l:113: warning: incompatible implicit declaration of
> built-in function 'strdup'
> read_config_lex.l:114: warning: incompatible implicit declaration of
> built-in function 'strdup'
> read_config_lex.l:115: warning: incompatible implicit declaration of
> built-in function 'strdup'
> read_config_lex.l:126: warning: incompatible implicit declaration of
> built-in function 'strdup'
> read_config_lex.c:3845: warning: label 'find_rule' defined but not used
> make[1]: *** [read_config_lex.o] Error 1
>
> I get this while compiling the last git snapshot
> probably string.h is missing ?
Does the patch attached fix it?
--
"Los honestos son inadaptados sociales" -- Les Luthiers
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 271 bytes --]
diff --git a/src/read_config_lex.l b/src/read_config_lex.l
index eb3368a..7daaeab 100644
--- a/src/read_config_lex.l
+++ b/src/read_config_lex.l
@@ -19,6 +19,8 @@
* Description: configuration file syntax
*/
+#include <string.h>
+
#include "read_config_yy.h"
%}
next prev parent reply other threads:[~2008-05-21 14:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 8:33 [RFC] masquerading/conntrack NICOLAS BOULIANE
2008-05-21 8:48 ` Henrik Nordstrom
2008-05-21 9:53 ` Pablo Neira Ayuso
2008-05-21 13:23 ` NICOLAS BOULIANE
2008-05-21 14:04 ` Pablo Neira Ayuso [this message]
2008-05-21 14:25 ` NICOLAS BOULIANE
2008-05-21 15:10 ` Pablo Neira Ayuso
2008-05-21 16:13 ` NICOLAS BOULIANE
2008-05-22 13:00 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48342C03.10204@netfilter.org \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=nicboul@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox