Anonymous committed cdf889c

Better error message for lack of pointer buffers support.

  • Participants
  • Parent commits 4a96e1a
  • Tags 0.10.3

Comments (0)

Files changed (1)

File Cython/Compiler/

             # for now...note that pos is wrong 
             raise CompileError(node.pos, "Buffer vars not allowed in module scope")
         for entry in bufvars:
+            if entry.type.dtype.is_ptr:
+                raise CompileError(node.pos, "Buffers with pointer types not yet supported.")
             name =
             buftype = entry.type
             if buftype.ndim > self.max_ndim: