On Thu, Aug 18, 2011 at 03:00:23PM +0200, Anders Broman wrote:
> With the enclosed patch Wireshark builds on GTK3.0. Colors are messed up etc 
> but it should be possible to start to fix things and actually see what's 
> happening.
> I wouldn't be surprised if many patches leading up to this are faulty. Color 
> handling should probably be rewritten to use GdkRGBA in many places etc.

Without checking in the brutal patch but with current svn 38614, I get build
errors when building with GTK2 + -DGDK_DISABLE_DEPRECATED and when building
with GTK3. The error logs are attached.

Ciao
     Joerg
-- 
Joerg Mayer                                           <[email protected]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
cc1: warnings being treated as errors
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c: In function 
‘gtk_vumeter_expose’:
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:359:17: error: implicit 
declaration of function ‘gdk_draw_line’
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:368:21: error: implicit 
declaration of function ‘gdk_draw_layout’
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c: In function 
‘gtk_vumeter_setup_colors’:
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:631:9: error: implicit 
declaration of function ‘gdk_gc_new’
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:631:30: error: 
assignment makes pointer from integer without a cast
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:632:9: error: implicit 
declaration of function ‘gdk_gc_set_foreground’
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:635:30: error: 
assignment makes pointer from integer without a cast
make[2]: *** [gtk/CMakeFiles/ui.dir/gtkvumeter.c.o] Error 1
cc1: warnings being treated as errors
/home/jmayer/work/wireshark/svn/trunk/gtk/rtp_player.c: In function 
‘draw_channel_cursor’:
/home/jmayer/work/wireshark/svn/trunk/gtk/rtp_player.c:972:3: error: implicit 
declaration of function ‘gdk_draw_pixbuf’
/home/jmayer/work/wireshark/svn/trunk/gtk/rtp_player.c:981:3: error: implicit 
declaration of function ‘gdk_draw_drawable’
make[2]: *** [gtk/CMakeFiles/ui.dir/rtp_player.c.o] Error 1
cc1: warnings being treated as errors
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c: In function 
‘create_drawing_area’:
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:794:3: error: implicit 
declaration of function ‘gdk_gc_new’
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:794:10: error: assignment 
makes pointer from integer without a cast
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:795:3: error: implicit 
declaration of function ‘gdk_gc_set_function’
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:810:3: error: implicit 
declaration of function ‘gdk_gc_set_foreground’
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:812:11: error: assignment 
makes pointer from integer without a cast
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c: In function 
‘draw_element_arc’:
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:2233:2: error: implicit 
declaration of function ‘gdk_draw_arc’
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c: In function 
‘cross_xor’:
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:2874:3: error: implicit 
declaration of function ‘gdk_draw_line’
make[2]: *** [gtk/CMakeFiles/ui.dir/tcp_graph.c.o] Error 1
make[2]: Target `gtk/CMakeFiles/ui.dir/build' not remade because of errors.
make[1]: *** [gtk/CMakeFiles/ui.dir/all] Error 2
make[1]: Target `gtk/all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.

Attachment: error-gtk3.log.gz
Description: application/gunzip

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to