[Python-Dev] [win32] Killing MSVC's _alloca
Martin v. Loewis
martin@v.loewis.de
04 Oct 2002 22:35:31 +0200
Guido van Rossum <guido@python.org> writes:
> > Doesn't MSVC have alloca?
> It seems that it does.
Without checking: It probably has this only if __STDC__ is not
defined. MSVC hides all non-standard symbols if __STDC__ is defined -
either by compiler switches, or in some application header.
In that sense, _alloca is the Microsoft name for this extension. They
may have been misguided by using that scheme, though, since _alloca
isn't any more reserved than alloca.
However, all uses of _alloca in posixmodule.c are MS specific, so I
really see no reason to change that.
Regards,
Martin