Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 184529
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vladimir Brik <no.hope@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wireshark-0.99.6-gint64-warnings.patch wireshark-0.99.6-gint64-warnings.patch patch Peter Volkov 2007-07-16 05:38 0000 1.80 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 184529 depends on: Show dependency tree
Bug 184529 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-07 18:42 0000
net-analyzer/wireshark-0.99.6 does not compile if -gtk USE flag is set:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
-Werror "-D_U_=__attribute__((unused))" -march=nocona -O -pipe -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wwrite-strings -Wstrict-prototypes
-Wmissing-declarations -Wno-pointer-sign -Wcast-align -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I/usr/local/include -MT
libwiretap_la-catapult_dct2000.lo -MD -MP -MF
.deps/libwiretap_la-catapult_dct2000.Tpo -c catapult_dct2000.c  -fPIC -DPIC -o
.libs/libwiretap_la-catapult_dct2000.o
cc1: warnings being treated as errors
catapult_dct2000.c: In function 'catapult_dct2000_seek_read':
catapult_dct2000.c:498: warning: format '%lld' expects type 'long long int',
but argument 2 has type 'gint64'


0.99.5 is not affected by this.

Reproducible: Always

------- Comment #1 From Raúl Porcel 2007-07-09 17:34:42 0000 -------
This is fixed adding --disable-warnings-as-errors in the econf line

------- Comment #2 From Raúl Porcel 2007-07-09 17:34:45 0000 -------
*** Bug 184706 has been marked as a duplicate of this bug. ***

------- Comment #3 From Raúl Porcel 2007-07-09 17:38:03 0000 -------
Should be fixed now, Jokey fails.

Hope you guys don't mind

------- Comment #4 From Peter Volkov 2007-07-10 10:04:25 0000 -------
Sorry to reopen. Upstream told me that they are interested in this proble to be
fixed and having -Werror is intentionally there. I'll try to backport changes
from svn.

------- Comment #5 From Peter Volkov 2007-07-16 05:38:10 0000 -------
Created an attachment (id=124995) [details]
wireshark-0.99.6-gint64-warnings.patch

With the next bump we should try to disable warnings for gtk+-1.x and to
disable for gtk+-2.x builds. For 0.99.6 revisions bumps, this patch should be
applied.

------- Comment #6 From Peter Volkov 2007-07-24 18:19:49 0000 -------
Ok. wireshark-0.99.6-r1 has fix for warnings reported here and enables warnings
as errors for gtk-2.0 build, like upstream wants us (see upstream bug report).

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug