[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [sr #108864] gettext- compiling problem

From: Daiki Ueno
Subject: [bug-gettext] [sr #108864] gettext- compiling problem
Date: Sat, 15 Aug 2015 10:08:14 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0

Follow-up Comment #1, sr #108864 (project gettext):

Couldn't it also be fixed by removing the last semicolon of:

  __libc_lock_define_initialized_recursive (static, lock);


It is possible that the extra semicolon expands to an empty statement, which
pre-C99 compilers complain of. 

> When i move this line to the bottom of the definitions it compiles.

Yes, this sounds like the right fix, which wouldn't break consistency with the
Glibc style.

For reference, here is the original commit introduced this change:


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]