On 31 January 2015 at 15:30, Chen Gang S <gang.c...@sunrus.com.cn> wrote: > On 1/31/15 16:53, Andreas Schwab wrote: >> Chen Gang S <gang.c...@sunrus.com.cn> writes: >> >>> * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use braces >>> instead of macro's empty body to avoid xgcc warnings. The ChangeLog entry should be fixed to reflect it's an empty loop now. something like: * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty do-while loop as macro body to avoid xgcc warnings.
Thanks, Prathamesh >> >> It's actually an empty loop now. >> > > Excuse me, I am not quite clear gcc version merging working flow. Now, > for gcc master branch (20150131), __GTHREAD_MUTEX_INIT_FUNCTION is still > as empty. > > Could you provide more details about it? > > Thanks. > -- > Chen Gang > > Open, share, and attitude like air, water, and life which God blessed