Dag Sverre Seljebotn wrote:
> Robert wrote:
>> failed:
>> cdef extern from <sys/times.h>:
>> cdef extern from "<sys/times.h>":
>>
>> Or is it otherwise somehow possible to tell him library /I includes?
> 
> As long as you don't have a file called times.h in the same directory as
> the compiled c file (which I suppose would only happen on --inplace),
> "file" and <file> does the same.
> 

yes, its not severe.
just with "gcc -MM modname.c" (create dependencies) it makes 
problems. he errors on missing ""-includes, but not on 
<>-includes, when -I is omitted.
Usually one doesn't want all the constant library stuff in the 
project depend file.

> In fact, one could argue that Cython should *always* use <file.h> instead
> of "file.h", so that one always get the same behaviour regardless of build
> method.

hmm, brackets for the automatic python includes, but still "" by 
default for extern from "file.h", because that are often project h 
files.

just, when: extern from "<sys/times.h>", as Lisandro said.

> 
> Or?
> 
> I don't know anything about your other question.
> 

above "gcc -MM" ?


Robert

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

Reply via email to