[Python-Dev] Get rid of strerror.c and memmove.c?
Brett Cannon
brett at python.org
Thu Feb 7 09:05:26 CET 2008
More information about the Python-Dev mailing list
Thu Feb 7 09:05:26 CET 2008
- Previous message: [Python-Dev] Buildbot failures
- Next message: [Python-Dev] Get rid of strerror.c and memmove.c?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I ran LLVM's under-development C front-end, clang (http://clang.llvm.org), against Python today. While a ton of message crop up thanks to lacking header files, I did come across a handful of semi-useful warnings (e.g., the change I checked into Python/compile.c). One thing it picked up is that on OS X Python/strerror.c disagrees with the declaration of sys_nerr and such. But then I thought I remembered strerror() being in C89. I checked configure-in to make sure that it wasn't special for some reason, it it isn't; only used when the function is not normally available. Same goes for memmove(). Since both strerror() and memmove() are both in C89 (they are listed in K&R), can we ditch these files? -Brett
- Previous message: [Python-Dev] Buildbot failures
- Next message: [Python-Dev] Get rid of strerror.c and memmove.c?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list