Changing "target" parameter via attribute

Manu turkeyman at gmail.com
Mon May 27 04:17:00 PDT 2013


For MinGW? I've never successfully managed to build that bloody thing! ;)


On 27 May 2013 21:08, Iain Buclaw <ibuclaw at ubuntu.com> wrote:

> On 27 May 2013 11:47, Manu <turkeyman at gmail.com> wrote:
> > By 'it', you mean supporting @target? Or handling specific targets +
> > mangling?
> >
> > I still need to be able to do something like '@attribute("target", T)
> void
> > func(string T)()', or maybe '@target(T) void func(string T)()' one way or
> > another. The template argument would be responsible for the appropriate
> > mangling in this case.
> > The reason is to be compatible with the DMD/LDC solutions, which would
> also
> > use template selection.f
> >
> > The part I don't know is if T, a template argument to the function, can
> be
> > used in the attribute declaration? This is critical.
> >
> >
>
> If it's a string constant, then answer should be yes.... can you pull
> gdc head and re-compile to test?
>
> --
> Iain Buclaw
>
> *(p < e ? p++ : p) = (c & 0x0f) + '0';
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130527/a194ea1d/attachment.html>


More information about the D.gnu mailing list