[illumos-Developer] __FUNCTION__ in illumos

Adam Leventhal ahl at delphix.com
Fri Dec 10 16:17:32 PST 2010


> As  __func__ is also used in existing code, it seems to be available
> throughout ON. I'm considering the approach of adding
> -D__FUNCTION=__func__ to cw and removing redefinitions of __FUNCTION__
> in any private headers. I would be lying if I said my main motivation
> wasn't to just work around the Net-SNMP breakage, but it seems like
> this would be a general improvement over the current situation.
>
> Does this sound reasonable to anyone?

Not an area where I consider myself expert, but it seems reasonable to me.

Adam

-- 
Adam Leventhal, Delphix                        http://dtrace.org/blogs/ahl



More information about the Developer mailing list