[Patches] [ python-Patches-473240 ] printf-like function warnings

noreply@sourceforge.net noreply@sourceforge.net
Sat, 20 Oct 2001 17:47:20 -0700


Patches item #473240, was opened at 2001-10-20 13:13
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=473240&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 2
Submitted By: Neil Schemenauer (nascheme)
Assigned to: Tim Peters (tim_one)
Summary: printf-like function warnings

Initial Comment:
This patch adds GCC function attributes to printf
like functions.  This allows GCC to check calls
to these functions for errors.

The preprocessor tests in pyport.h were stolen
from Apache 1.3.19 so they should be fairly well
tested.

Assigned to Tim since he seems to be the portability
guy.  Please review, reject or assign to someone
else.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-20 17:47

Message:
Logged In: YES 
user_id=6380

I have no problem with this.

Tim: if it compiles on Windows, and you like it enough,
assign it back to Neil for checkin.

Neil: what is this about?

+/* #define Py_inline */
+#else
+/* #define Py_inline __inline__ */ /* enable this someday?
*/


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=473240&group_id=5470