[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [sr #108864] gettext-0.19.5.1 compiling problem
From: |
Daiki Ueno |
Subject: |
[bug-gettext] [sr #108864] gettext-0.19.5.1 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:
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/