Lisandro Dalcin wrote: > On Thu, May 21, 2009 at 12:46 PM, Dag Sverre Seljebotn > <[email protected]> wrote: >> What is the point? It usually makes absolutely no difference for the C >> compiler, as "sys/time.h" isn't going to be located in >> build/temp-linux..../pyrex/ anyway. >> > > IIUC, you are assuming that generated C sources are ALWAYS at > build/temp-linux..../pyrex/ . For my own projects, that is not the > case... > > >> (Unless you rely on the "-iquote" feature of gcc. I suppose we could start >> using -iquote it to point to the base of the .pyx file ... personally I >> > > Well, if GCC is the only compiler you target for your code, then you > can pass the flag. But Cython should not rely on that IMHO. > >> just consider this a misfeature of C preprocessor though.) >> > > Perhaps, but despite that we have to live with it.
Because we have to support projects which need to include both "./foo.h" and "/usr/include/foo.h" as distinct header files in the same pyx file? -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
