[Patches] [Patch #101342] remove -Wstrict-prototypes warnings [aka: Anal Crusade I]
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 30 Aug 2000 22:19:35 -0700
Patch #101342 has been updated.
Project:
Category: core (C code)
Status: Closed
Summary: remove -Wstrict-prototypes warnings [aka: Anal Crusade I]
Follow-Ups:
Date: 2000-Aug-29 04:59
By: nowonder
Comment:
there is one remaining warning in Modules/main.c. The comment says that getopt() has no standardized prototype. The one given (int, char **, char *) does not work on Linux, but (int, char *const *, const char *) does. Is it worth doing some autoconf magic, or should we just let the warning stick where it is?
-------------------------------------------------------
Date: 2000-Aug-29 08:58
By: nowonder
Comment:
Thomas proposed that I should "move the 'getopt' prototype
into pyport.h and comment it out, re-adding it only for those platforms that don't have a getopt prototype."
-------------------------------------------------------
Date: 2000-Aug-30 22:19
By: fdrake
Comment:
Checked in.
Please submit a separate patch for the getopt() prototype in Modules/main.c -- thanks!
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=101342&group_id=5470