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:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=b0ca3de6

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108864>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to