Jerry Tan wrote:
> OK,
> 
> Refer to http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html
> In C, |__PRETTY_FUNCTION__| is yet another name for |__func__|.
> 
> so I will use __func__ here.
> 
> here is the patch.
> 
> and now trunk can be build with Sun Studio 12.
> 
>> Hi Jerry!
>>
>> Note that G_GNUC_[PRETTY_]FUNCTION are deprecated since glib 2.16, see
>> bug #409360
>>
>>
>> On vie, 2008-11-07 at 18:09 +0800, Jerry Tan wrote:
>>  
>>> __func__ and __PRETTY_FUNCTION__  are not supported by sun compiler,
>>>
>>> add this patch to make it build.

Hi,

I have committed a variation of the patch. Now we check for __FUNCTION__
in configure.ac and if it doesn't exist, we define it in config.h.

-- 
Regards,
Martyn
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to