<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - if IPTC_DEBUG is defined, compiler reports errors"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1275">1275</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>if IPTC_DEBUG is defined, compiler reports errors
</td>
</tr>
<tr>
<th>Product</th>
<td>iptables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>libiptc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>netfilter-buglog@lists.netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cscnull@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>if IPTC_DEBUG is defined, compiler reports errors link this:
In file included from libip4tc.c:113:0:
libiptc.c: In function 'iptc_read_counter':
libiptc.c:194:62: error: incompatible type for argument 1 of 'do_check'
#define CHECK(h) do { if (!getenv("IPTC_NO_CHECK")) do_check((h), __LINE__); }
while(0)
^
libiptc.c:2153:2: note: in expansion of macro 'CHECK'
CHECK(*handle);
^~~~~
libiptc.c:193:13: note: expected 'struct xtc_handle *' but argument is of type
'struct xtc_handle'
static void do_check(struct xtc_handle *h, unsigned int line);
^~~~~~~~
libiptc.c: In function 'iptc_commit':
libiptc.c:194:62: error: incompatible type for argument 1 of 'do_check'
#define CHECK(h) do { if (!getenv("IPTC_NO_CHECK")) do_check((h), __LINE__); }
while(0)
^
libiptc.c:2533:2: note: in expansion of macro 'CHECK'
CHECK(*handle);
^~~~~
libiptc.c:193:13: note: expected 'struct xtc_handle *' but argument is of type
'struct xtc_handle'
static void do_check(struct xtc_handle *h, unsigned int line);
^~~~~~~~
libip4tc.c: At top level:
libiptc.c:193:13: warning: 'do_check' used but never defined
make[5]: *** [libip4tc.lo] Error 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>