Hello,
On Tue, Aug 13, 2013 at 12:29:18PM +0200, Bálint Réczey wrote:
> 2013/8/12 Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>:
> > Hi,
> >
> > it is now possible to build wireshark with clang (CC=clang ./configure &&
> > make) (i fix last issue last week end).
> Great news!
Hmm, that has been working on my system (opensuse 12.1, cmake) for a while now
(but with clang 3.3, not 3.4).
That's why some dissectors are in "dirty" lists.
ciao
Jörg
echld/child.c
echld/dispatcher.c
ui/qt/packet_list_record.cpp
[100%] Building C object echld/CMakeFiles/echld.dir/child.c.o
/home/jmayer/work/wireshark/svn/trunk/echld/child.c:187:15: error: variable length array used [-Werror,-Wvla]
gchar err_str[len];
^
1 error generated.
Building C object echld/CMakeFiles/echld.dir/dispatcher.c.o
/home/jmayer/work/wireshark/svn/trunk/echld/dispatcher.c:165:15: warning: variable
length array used [-Wvla]
gchar err_str[len];
^
/home/jmayer/work/wireshark/svn/trunk/echld/dispatcher.c:183:15: warning: variable
length array used [-Wvla]
gchar err_str[len];
^
2 warnings generated.
[ 70%] Building CXX object ui/qt/CMakeFiles/qtui.dir/packet_list_record.cpp.o
In file included from /home/jmayer/work/wireshark/svn/trunk/ui/qt/packet_list_record.cpp:24:
/home/jmayer/work/wireshark/svn/trunk/ui/qt/packet_list_record.h:46:13: warning: private field 'col_text_' is not used [-Wunused-private-field]
gchar **col_text_;
^
/home/jmayer/work/wireshark/svn/trunk/ui/qt/packet_list_record.h:48:12: warning: private field 'col_text_len_' is not used [-Wunused-private-field]
guint *col_text_len_;
^
/home/jmayer/work/wireshark/svn/trunk/ui/qt/packet_list_record.h:53:14: warning: private field 'columnized_' is not used [-Wunused-private-field]
gboolean columnized_;
^
/home/jmayer/work/wireshark/svn/trunk/ui/qt/packet_list_record.h:55:14: warning: private field 'colorized_' is not used [-Wunused-private-field]
gboolean colorized_;
^
/home/jmayer/work/wireshark/svn/trunk/ui/qt/packet_list_record.h:59:11: warning: private field 'physical_pos_' is not used [-Wunused-private-field]
guint physical_pos_;
^
/home/jmayer/work/wireshark/svn/trunk/ui/qt/packet_list_record.h:61:10: warning: private field 'visible_pos_' is not used [-Wunused-private-field]
gint visible_pos_;
^
6 warnings generated.
--
Joerg Mayer <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.