URL:
  <http://gna.org/bugs/?20868>

                 Summary: No prototype for popup_quit_dialog()
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Tue 04 Jun 2013 11:34:25 PM EEST
                Category: client-qt
                Severity: 3 - Normal
                Priority: 9 - Immediate
                  Status: Ready For Test
             Assigned to: cazfi
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.5.0, 2.6.0

    _______________________________________________________

Details:

Compiler warning, error in --enable-debug -build:

client/gui-qt/gui_main.cpp: In function 'void popup_quit_dialog()':
client/gui-qt/gui_main.cpp:307:6: error: no previous declaration for 'void
popup_quit_dialog()' [-Werror=missing-declarations]

Also, popup_quit_dialog() has no function header while policy is not to add
any new functions without the header.

Fix attached. To be committed immediately to fix --enable-debug build.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 04 Jun 2013 11:34:25 PM EEST  Name: QtPopupQuitDlg.patch  Size: 3kB 
 By: cazfi

<http://gna.org/bugs/download.php?file_id=18049>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20868>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to