Hi David,

Thanks for your reply. But __FUNCTION__ is the same, both behave like
__PRETTY_FUNCTION__.
I am a little confused.  Anyone  has more explaination? Thanks!

BTW, I am working on the Gingerbread 2.3.4.


Regards,
Simon

2011/8/4 David Turner <di...@android.com>:
> Use __FUNCTION__ instead of __func__,
> see http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Function-Names.html
>
> On Thu, Aug 4, 2011 at 8:04 AM, Simon Chan <simonchan1...@gmail.com> wrote:
>>
>> Hi all,
>>
>> Now I add debug info for my overlay hal module.
>>
>> #define LOG_FUNC_NAME LOGD("%s",  __func__)
>>
>> the output is as seen below,
>>
>> D/Overlay (  966): int overlay_setParameter(overlay_control_device_t*,
>> overlay_t*, int, int)
>> D/Overlay (  966): int overlay_commit(overlay_control_device_t*,
>> overlay_t*)
>>
>> It's certainly not the thing I expect.
>>
>> I don't know whether it's the intended behavior or I have made
>> something wrong? Thanks!
>>
>>
>> Regards,
>> Simon
>>
>> --
>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-porting
>
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to