Package: filtergen Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs
Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). See build logs here: http://clang.debian.net/logs/2014-01-14/filtergen_0.12.4-5.1_unstable_clang.log Thanks, Alexander -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- filtergen-0.12.4/scanner.l 2014-06-12 17:43:14.000000000 -0400 +++ filtergen-0.12.4-my/scanner.l 2014-06-12 17:42:10.856132975 -0400 @@ -36,7 +36,7 @@ char * filename; long int lineno; }; -struct inc_stack_s inc_stack[MAXINCLUDES] = { { state: 0, filename: NULL, lineno: 1 } }; +struct inc_stack_s inc_stack[MAXINCLUDES] = { { .state = 0, .filename = NULL, .lineno = 1 } }; int inc_stackptr = 0; --- filtergen-0.12.4/fg-cisco.c 2004-06-09 09:11:07.000000000 -0400 +++ filtergen-0.12.4-my/fg-cisco.c 2014-06-12 17:40:54.494739531 -0400 @@ -120,7 +120,7 @@ { struct fg_misc misc = { flags, NULL }; fg_callback cb_cisco = { - rule: cb_cisco_rule, NULL + .rule = cb_cisco_rule, NULL }; oputs("# Warning: This backend is not complete and " "can generate broken rulesets."); --- filtergen-0.12.4/fg-ipfilter.c 2004-06-09 09:10:45.000000000 -0400 +++ filtergen-0.12.4-my/fg-ipfilter.c 2014-06-12 17:40:11.818246948 -0400 @@ -119,7 +119,7 @@ { struct fg_misc misc = { flags, NULL }; fg_callback cb_ipfilter = { - rule: cb_ipfilter_rule, NULL + .rule = cb_ipfilter_rule, NULL }; filter_nogroup(filter); --- filtergen-0.12.4/fg-ipchains.c 2004-05-14 23:26:49.000000000 -0400 +++ filtergen-0.12.4-my/fg-ipchains.c 2014-06-12 17:39:46.639317422 -0400 @@ -248,8 +248,8 @@ int r; struct fg_misc misc = { flags, NULL }; fg_callback cb_ipchains = { - rule: cb_ipchains_rule, - group: cb_ipchains_group, + .rule = cb_ipchains_rule, + .group = cb_ipchains_group, }; filter_unroll(&filter); --- filtergen-0.12.4/fg-iptables.c 2014-06-12 17:43:14.000000000 -0400 +++ filtergen-0.12.4-my/fg-iptables.c 2014-06-12 17:39:01.594349039 -0400 @@ -335,8 +335,8 @@ int r = 0; struct fg_misc misc = { flags, &feat }; fg_callback cb_iptables = { - rule: cb_iptables_rule, - group: cb_iptables_group, + .rule = cb_iptables_rule, + .group = cb_iptables_group, }; const int nchains = 3;