https://bugzilla.novell.com/show_bug.cgi?id=355254 User rguenther@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355254#c4 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|rguenther@novell.com | --- Comment #4 from Richard Guenther <rguenther@novell.com> 2008-01-23 03:02:28 MST --- It depends on the context. The standard says that "An empty list in a function declarator ... that is not part of a definition of that function specifies that no information about the number or types of the parameters is supplied." and this usage is an obsolescent feature (it isn't a true prototype). So what static void handleExtensions(); .. call handleExtensions with arguments ... static void handleExtensions(XEvent *event); does is that it is "valid" in that it doesn't need to be diagnosed, but invokes undefined behavior at runtime if the passed arguments after applying default argument promotions are not compatible with the actual argument types in the function definition. A very common error is for example calling handleExtensions(0) in the above case where a 32bit int is passed instead of a 64bit pointer on 32bit archs. What exactly happens in your case I did not investigate. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.