[Numpy-discussion] Should we drop support for "one file" compilation mode?
solipsis at pitrou.net
Tue Oct 6 07:07:17 EDT 2015
On Tue, 6 Oct 2015 11:00:30 +0100
David Cournapeau <cournape at gmail.com> wrote:
> Assuming one of the rumour is related to some comments I made some time
> (years ?) earlier, the context was the ability to hide exported symbols. As
> you know, the issue is not to build extensions w/ multiple compilation
> units, but sharing functionalities between them without sharing them
> outside the extension.
Can't you use the visibility attribute with gcc for this?
Other Unix compilers probably provide something similar. The issue
doesn't exist on Windows by construction.
By the way, external packages may reuse the npy_* functions, so I would
like them not the be hidden :-)
More information about the NumPy-Discussion