Tim Peters wrote: > > [Tim, on gcc -Wmissing-prototypes -Wstrict-prototypes] > > [Vladimir] > > Just tried it. Indeed, there are a couple of warnings. Wanna list? > > Not me personally, no. The very subtle <wink> implied request in that was > that someone who *can* run gcc this way actually commit to doing so as a > matter of course, and fix warnings as they pop up. But, in the absence of > joy, the occasional one-shot list is certainly better than nothing. Sorry, I'm running after my plane (and I need to run fast <wink>) so please find another volunteer. They're mostly ansification thingies, as expected. Here's the list from a the default ./configure, make, on Linux, so that even someone without gcc can fix them <wink>: ---------------------------------------------------------------------------- pgenmain.c:43: warning: no previous prototype for `Py_Exit' pgenmain.c:169: warning: no previous prototype for `PyOS_Readline' myreadline.c:66: warning: no previous prototype for `PyOS_StdioReadline' intrcheck.c:138: warning: no previous prototype for `PyErr_SetInterrupt' intrcheck.c:191: warning: no previous prototype for `PyOS_FiniInterrupts' fileobject.c:253: warning: function declaration isn't a prototype fileobject.c:302: warning: function declaration isn't a prototype floatobject.c:242: warning: no previous prototype for `PyFloat_AsStringEx' floatobject.c:285: warning: no previous prototype for `PyFloat_AsString' unicodeobject.c:548: warning: no previous prototype for `_PyUnicode_AsDefaultEncodedString' unicodeobject.c:5142: warning: no previous prototype for `_PyUnicode_Init' unicodeobject.c:5159: warning: no previous prototype for `_PyUnicode_Fini' codecs.c:423: warning: no previous prototype for `_PyCodecRegistry_Init' codecs.c:434: warning: no previous prototype for `_PyCodecRegistry_Fini' frozenmain.c:34: warning: no previous prototype for `Py_FrozenMain' getmtime.c:30: warning: no previous prototype for `PyOS_GetLastModificationTime' import.c:2269: warning: no previous prototype for `initimp' marshal.c:771: warning: no previous prototype for `PyMarshal_Init' pyfpe.c:21: warning: no previous prototype for `PyFPE_dummy' pythonrun.c: In function `run_pyc_file': pythonrun.c:880: warning: function declaration isn't a prototype dynload_shlib.c:49: warning: no previous prototype for `_PyImport_GetDynLoadFunc' In file included from thread.c:125: thread_pthread.h:205: warning: no previous prototype for `PyThread__exit_thread' getopt.c:48: warning: no previous prototype for `getopt' ./threadmodule.c:389: warning: no previous prototype for `initthread' ./gcmodule.c:698: warning: no previous prototype for `initgc' ./regexmodule.c:661: warning: no previous prototype for `initregex' ./pcremodule.c:633: warning: no previous prototype for `initpcre' ./posixmodule.c:3698: warning: no previous prototype for `posix_strerror' ./posixmodule.c:5456: warning: no previous prototype for `initposix' ./signalmodule.c:322: warning: no previous prototype for `initsignal' ./_sre.c:2301: warning: no previous prototype for `init_sre' ./arraymodule.c:792: warning: function declaration isn't a prototype ./arraymodule.c:1511: warning: no previous prototype for `initarray' ./cmathmodule.c:412: warning: no previous prototype for `initcmath' ./mathmodule.c:254: warning: no previous prototype for `initmath' ./stropmodule.c:1205: warning: no previous prototype for `initstrop' ./structmodule.c:1225: warning: no previous prototype for `initstruct' ./timemodule.c:571: warning: no previous prototype for `inittime' ./operator.c:251: warning: no previous prototype for `initoperator' ./_codecsmodule.c:628: warning: no previous prototype for `init_codecs' ./unicodedata.c:277: warning: no previous prototype for `initunicodedata' ./ucnhash.c:107: warning: no previous prototype for `getValue' ./ucnhash.c:179: warning: no previous prototype for `initucnhash' ./_localemodule.c:408: warning: no previous prototype for `init_locale' ./fcntlmodule.c:322: warning: no previous prototype for `initfcntl' ./pwdmodule.c:129: warning: no previous prototype for `initpwd' ./grpmodule.c:136: warning: no previous prototype for `initgrp' ./errnomodule.c:74: warning: no previous prototype for `initerrno' ./mmapmodule.c:940: warning: no previous prototype for `initmmap' ./selectmodule.c:339: warning: no previous prototype for `initselect' ./socketmodule.c:2366: warning: no previous prototype for `init_socket' ./md5module.c:275: warning: no previous prototype for `initmd5' ./shamodule.c:550: warning: no previous prototype for `initsha' ./rotormodule.c:621: warning: no previous prototype for `initrotor' ./newmodule.c:205: warning: no previous prototype for `initnew' ./binascii.c:1014: warning: no previous prototype for `initbinascii' ./parsermodule.c:2637: warning: no previous prototype for `initparser' ./cStringIO.c:643: warning: no previous prototype for `initcStringIO' ./cPickle.c:358: warning: no previous prototype for `cPickle_PyMapping_HasKey' ./cPickle.c:2287: warning: no previous prototype for `Pickler_setattr' ./cPickle.c:4518: warning: no previous prototype for `initcPickle' main.c:33: warning: function declaration isn't a prototype main.c:79: warning: no previous prototype for `Py_Main' main.c:292: warning: no previous prototype for `Py_GetArgcArgv' getbuildinfo.c:34: warning: no previous prototype for `Py_GetBuildInfo' ./Modules/getbuildinfo.c:34: warning: no previous prototype for `Py_GetBuildInfo' -- Vladimir MARANGOZOV | Vladimir.Marangozov@inrialpes.fr http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4