[hafqa] [hafqa] [Bug 2493] New: gdk_close_all_temporary_windows () is not a valid function prototype

From: bugzilla-daemon at lists.maemo.org bugzilla-daemon at lists.maemo.org
Date: Wed Dec 5 14:59:39 EET 2007
https://bugs.maemo.org/show_bug.cgi?id=2493

           Summary: gdk_close_all_temporary_windows () is not a valid
                    function prototype
           Product: System software
           Version: 4.0
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Low
         Component: gtk
        AssignedTo: tommi.komulainen at nokia.com
        ReportedBy: inz at inz.fi
         QAContact: gtk-bugs at maemo.org


STEPS TO REPRODUCE THE PROBLEM:
Try to compile a program that includes gdk/gdk.h with MAEMO_CHANGES defined and
-Wstrict-prototypes.

EXPECTED OUTCOME:
Program should build cleanly.

ACTUAL OUTCOME:
Compiler warns:
In file included from foo.c:1:
/usr/include/gtk-2.0/gdk/gdk.h:173: warning: function declaration isn't a
prototype

REPRODUCIBILITY:
always

OTHER COMMENTS:
This is easy to fix by adding "void":
void gdk_close_all_temporary_windows (void);


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list