[Bug 99] New: multiline strings in gcc 3.3

bugzilla-daemon@netfilter.org bugzilla-daemon@netfilter.org
Sat, 14 Jun 2003 16:02:36 +0200


https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=99

           Summary: multiline strings in gcc 3.3
           Product: netfilter/iptables
           Version: linux-2.4.x
          Platform: i386
        OS/Version: SuSE Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ip_tables (kernel)
        AssignedTo: laforge@netfilter.org
        ReportedBy: georg.wild@gmx.de
                CC: netfilter-buglog@lists.netfilter.org


I got errors compiling kernel modules;  I think this is caused by gcc 3.3, which
doesn't allow multiline strings any more?:

				DEBUGP("calling nat helper (exp=%p) for
					packet\n", exp);


ip_nat_core.c:854:40: missing terminating " character
ip_nat_core.c:855:49: missing terminating " character
ip_nat_core.c:1038:1: unterminated argument list invoking macro "DEBUGP"
ip_nat_core.c: In function `do_bindings':
ip_nat_core.c:1038: error: `DEBUGP' undeclared (first use in this function)
ip_nat_core.c:1038: error: (Each undeclared identifier is reported only once
ip_nat_core.c:1038: error: for each function it appears in.)
ip_nat_core.c:1038: error: parse error at end of input
ip_nat_core.c:833: Warnung: unused variable `helper_called'
ip_nat_core.c:832: Warnung: unused variable `ret'
ip_nat_core.c:786: Warnung: unused variable `is_tcp'
ip_nat_core.c:70: Warnung: `ip_nat_cleanup_conntrack' defined but not used
make[3]: *** [ip_nat_core.o] Fehler 1



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.