Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 4106] New: epan/emem.c compiler warning causes build fail

Date: Thu, 8 Oct 2009 06:55:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4106

           Summary: epan/emem.c compiler warning causes build fail
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: Debian
            Status: NEW
          Severity: Critical
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: laforge@xxxxxxxxxxxx


Build Information:
gcc (Debian 4.3.4-3) 4.3.4
--
make[3]: Entering directory `/home/laforge/projects/svn/wireshark/epan'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-I./.. -I./../tools/lemon      -I/usr/local/include -I/usr/include/pcap 
'-DPLUGIN_DIR="/usr/local/lib/wireshark/plugins/1.3.1"' -Werror -DPYTHONDIR=
-DNEW_PACKET_LIST -DINET6 -D_U_="__attribute__((unused))" -g -O2 -Wall -W
-Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-I/usr/local/include -D_REENTRANT -pthread -I/usr/local/include/directfb
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/pcap  -MT libwireshark_la-emem.lo
-MD -MP -MF .deps/libwireshark_la-emem.Tpo -c -o libwireshark_la-emem.lo `test
-f 'emem.c' || echo './'`emem.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../tools/lemon
-I/usr/local/include -I/usr/include/pcap
-DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.3.1\" -Werror -DPYTHONDIR=
-DNEW_PACKET_LIST -DINET6 "-D_U_=__attribute__((unused))" -g -O2 -Wall -W
-Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-I/usr/local/include -D_REENTRANT -pthread -I/usr/local/include/directfb
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pcap -MT libwireshark_la-emem.lo -MD
-MP -MF .deps/libwireshark_la-emem.Tpo -c emem.c  -fPIC -DPIC -o
.libs/libwireshark_la-emem.o
cc1: warnings being treated as errors
emem.c: In function ‘se_init_chunk’:
emem.c:285: error: cast from pointer to integer of different size
make[3]: *** [libwireshark_la-emem.lo] Error 1


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.