Re: [Cython] Fwd: Question about how best require compiler options for C sources

2016-04-08 Thread Nathaniel Smith
Can you give a tiny concrete example? My questions are basic enough that I feel like I'm missing something fundamental :-) My first question is why you even need this, since AFAIK there are no cases where it is correct to have a cython module dllexporting symbols that appear in header files. This

[Cython] Fwd: Question about how best require compiler options for C sources

2016-04-08 Thread Erik Bray
Hi all, I'd like to call attention to an issue I've been looking into for the past couple days: https://github.com/cython/cython/pull/360 To summarize the discussion, when building DLLs for Windows, functions that should be exported by that DLL must be marked __declspec(dllexport) in their decla