Re: [Bug 208262] [NEW] Invalid typedefs on Windows

Greg Ewing <[email protected]>
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
Robert Bradshaw wrote:

> On Mar 28, 2008, at 7:21 AM, Chris Perkins wrote:
> 
>>I can get this in my generated c file, depending on how and from where
>>cython is invoked:
>>
>>typedef int __pyx_t_22C:\temp\cython_bug\bug_Int32;

As a suggestion on debugging this, you could insert something
into Pyrex.Compiler.Code.CCodeWriter.put() to detect when
it's writing out the offending string and raise an exception.
That would give a traceback showing where it's coming from.

-- 
Greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.