Jim Kleckner wrote:
> When trying out the native M$FT compiler with Cython
> I found that the declarations are required to all be
> ahead of any executable code.

I found when updating to 0.9.6.14 that a *lot* had changed.
So as Emily Latella would say, "Never mind" that patch...

Something different did pop up with "static inline".
I note that every other declaration is "static INLINE"
elsewhere other than here.  And changing that makes
VS2008 compile:

--- ExprNodes.py.orig   2008-05-15 19:12:51.289457400 -0700
+++ ExprNodes.py        2008-05-15 19:13:03.620422200 -0700
@@ -4124,7 +4124,7 @@

  append_utility_code = [
  """
-static inline PyObject* __Pyx_PyObject_Append(PyObject* L, PyObject* x) {
+static INLINE PyObject* __Pyx_PyObject_Append(PyObject* L, PyObject* x) {
      if (likely(PyList_CheckExact(L))) {
          if (PyList_Append(L, x) < 0) return NULL;
          Py_INCREF(Py_None);
@@ -4135,4 +4135,4 @@
      }
  }
  """,""


_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to