[Numpy-discussion] Should we drop support for "one file" compilation mode?
cournape at gmail.com
Tue Oct 6 07:46:18 EDT 2015
On Tue, Oct 6, 2015 at 12:07 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> 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.
> > 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?
We do that already for gcc, I think the question was whether every platform
supported this or not (and whether we should care).
> 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 :-)
The npy_ functions in npymath were designed to be exported. Those would
stay that way.
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion