[Python-Dev] staticforward

M.-A. Lemburg mal@lemburg.com
Thu, 18 Jul 2002 23:38:59 +0200


Jeremy Hylton wrote:
>>>>>>"MAL" == mal  <M.-A.> writes:
>>>>>
> 
>   MAL> The configure script tests whether static forwards work or
>   MAL> not. If you'd rip out the test as well, then I'd have to add
>   MAL> those platforms which still have problems manually.
> 
>   MAL> The problem is: I don't know which platforms these are (because
>   MAL> configure found these itself).
>   >>
>   >> If you think the configure test works, why do you have platform
>   >> specific ifdefs in your header file?
> 
>   MAL> Because it doesn't always work :-)
> 
> Let's make sure I've got this straight:
> 
> You believe there are platforms on which staticforward is necessary,
> because you can not have a tentative definition of a static followed
> by a definition with an initializer.  Yet the configure test of
> exactly this behavior succeeds. 

Yes. The test doesn't seem to catch the case of having
arrays being declared as static forward. If you look in
configure.in you'll find that the test code only checks
whether struct behave well.

 > Further, you don't believe the
> configure test works but you want us to leave it in anyway?

I believe that it works in most cases, but not all of them.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/