Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [Patch] Extended connect dialog (PR#977)
Home

[Freeciv-Dev] Re: [Patch] Extended connect dialog (PR#977)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Patch] Extended connect dialog (PR#977)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Sep 2001 17:52:07 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Sep 24, 2001 at 05:52:57AM -0700, Andreas Kemnade wrote:

It produces compiler warnings:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../common 
-I../../intl -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include  
-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations 
-Werror  -g -O2 -Wall -c connectdlg.c
cc1: warnings being treated as errors
connectdlg.c:139: warning: no previous prototype for `join_game_callback'
connectdlg.c: In function `server_command_callback':
connectdlg.c:395: warning: implicit declaration of function `strlen'
connectdlg.c: At top level:
connectdlg.c:524: warning: no previous prototype for `filesel_callback'
connectdlg.c:535: warning: no previous prototype for `load_game_callback'

And it produce a core dump when run:

(gdb) bt
#0  0x4036b273 in strlen (str=0x1e <Address 0x1e out of bounds>)
    at ../sysdeps/i386/strlen.c:27
#1  0x400d063a in gtk_label_parse_uline () from /usr/lib/libgtk-1.2.so.0
#2  0x8084b1e in gtk_accelbutton_new (label=0x1e <Address 0x1e out of bounds>, 
    accel=0x8244550) at gui_stuff.c:105
#3  0x807ce9f in popup_message_dialog (parent=0x81f9ac8, 
    dialogname=0x80bb277 "Start a game", 
    text=0x80bb25f "What do you wish to to?") at dialogs.c:1624
#4  0x8079bf7 in gui_server_connect () at connectdlg.c:556
#5  0x8084335 in ui_main (argc=3, argv=0xbffff354) at gui_main.c:832
#6  0x805e800 in main (argc=3, argv=0xbffff354) at civclient.c:189
#7  0x40307a7c in __libc_start_main (main=0x805e3a8 <main>, argc=3, 
    ubp_av=0xbffff354, init=0x805bf2c <_init>, fini=0x80b512c <_fini>, 
    rtld_fini=0x4000d684 <_dl_fini>, stack_end=0xbffff34c)
    at ../sysdeps/generic/libc-start.c:111

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Just because you put a flag on the moon doesn't make it yours, it just
  puts a hole in the moon."


[Prev in Thread] Current Thread [Next in Thread]