On Mon, 2014-03-03 at 18:49 +1100, Bruce Evans wrote:
> On Sun, 2 Mar 2014, Ian Lepore wrote:
> 
> > Log:
> >  Add __attribute__((used)) so that the delay implementation doesn't get
> >  optimized away as unreferenced, causing linker errors when trying to
> >  resolve the weak reference to the missing function.
> 
> Why not use the standard FreeBSD macro __used?  Hard-coded
> __attribute__(())s are not only unportable; they are gross style bugs.
> They were all replaced by FreeBSD macros in old versions of FreeBSD.

Thanks.  I actually looked for __used and somehow failed to find it.

-- Ian


_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to