Re: [swift-dev] Marking a function as __attribute__((weak))

2017-03-08 Thread Joe Groff via swift-dev
> On Mar 6, 2017, at 7:10 PM, Philippe Hausler via swift-dev > wrote: > > > > On Mar 6, 2017, at 5:59 PM, Greg Parker > wrote: > >> >>> On Mar 6, 2017, at 5:48 PM, Philippe Hausler via swift-dev >>> mailto:swift-dev@swift.org>> wrote: >>> >>> Is there a way to m

Re: [swift-dev] Marking a function as __attribute__((weak))

2017-03-06 Thread Philippe Hausler via swift-dev
> On Mar 6, 2017, at 5:59 PM, Greg Parker wrote: > > >> On Mar 6, 2017, at 5:48 PM, Philippe Hausler via swift-dev >> wrote: >> >> Is there a way to mark a function in swift (on Linux) to use the same >> emission strategy as weak declarations in c? >> >> I was to tinkering with some idea

Re: [swift-dev] Marking a function as __attribute__((weak))

2017-03-06 Thread Greg Parker via swift-dev
> On Mar 6, 2017, at 5:48 PM, Philippe Hausler via swift-dev > wrote: > > Is there a way to mark a function in swift (on Linux) to use the same > emission strategy as weak declarations in c? > > I was to tinkering with some ideas on fixing some poor behavior in > swift-corelibs-foundation a

[swift-dev] Marking a function as __attribute__((weak))

2017-03-06 Thread Philippe Hausler via swift-dev
Is there a way to mark a function in swift (on Linux) to use the same emission strategy as weak declarations in c? I was to tinkering with some ideas on fixing some poor behavior in swift-corelibs-foundation and weak would potentially solve this specific case. For reference this is the syntax