Wireshark-bugs: [Wireshark-bugs] [Bug 4877] wireshark 1.4.0rc1 gets build warnings in epan/disse
Date: Mon, 14 Jun 2010 19:10:23 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4877

--- Comment #5 from Jose Pedro Oliveira <jpo@xxxxxxxxxxxx> 2010-06-14 19:10:23 PDT ---
(In reply to comment #2)
> > it builds with autotools (./configure; make)
> 
> It does?
> 
> If so, that means that the CMake build is turning on more warning flags than
> the automake build, or is building with -Werror.

Just for the record: Cmake is building with -Werror.
----------
...
 4%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-gtpv2.c.o
cd /home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/Build/epan &&
/usr/lib64/ccache/gcc  -Depan_EXPORTS -DHAVE_CONFIG_H -DPACKAGE=\"wireshark\"
-DNEW_PACKET_LIST -D_U_="__attribute__((unused))" -fPIC
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/Build
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/epan
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/tools/lemon
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/wiretap
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/atk-1.0 -I/usr/include/glib-2.0/glib
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/Build/epan
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/epan/dfilter
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/epan/dissectors
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/epan/ftypes
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/epan/wslua
-I/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/epan/wspython   -O2 -Wall -W
-Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -Werror -o
CMakeFiles/epan.dir/dissectors/packet-gtpv2.c.o   -c
/home/fedora/rpms/BUILD/wireshark-1.4.0rc1.cmake/epan/dissectors/packet-gtpv2.c
...
-----------


Note: I will open new bugs regarding:
 * the different building requirements and flags used by autotools and cmake
 * the python annoyance mentioned

/jpo

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