-Wundef fixes
Siddhesh Poyarekar
siddhesh@redhat.com
Mon Dec 29 16:45:00 GMT 2014
On Mon, Dec 29, 2014 at 11:04:06AM -0500, Chris Metcalf wrote:
> It looked like the posix-conf-vars-def.h rule in before-compile was
> assuming a build in the source tree, since it was listed without the
> $(objpfx) prefix. I added the $(objpfx) and pushed the
Thanks.
> change. However, perhaps your gawk is newer than mine, since mine
> (RHEL 6, gawk 3.1.7) doesn't work with your gen-posix-conf-vars.awk:
>
> gawk: ../scripts/gen-posix-conf-vars.awk:45: sc_prefixes[prefix][$1] = sc_prefix
> gawk: ../scripts/gen-posix-conf-vars.awk:45: ^ syntax error
> gawk: ../scripts/gen-posix-conf-vars.awk:46: conf[prefix][$1] = type
> gawk: ../scripts/gen-posix-conf-vars.awk:46: ^ syntax error
> gawk: ../scripts/gen-posix-conf-vars.awk:54: for (c in conf[p]) {
> gawk: ../scripts/gen-posix-conf-vars.awk:54: ^ syntax error
> gawk: ../scripts/gen-posix-conf-vars.awk:58: if (conf[p][c] != "CONFSTR") {
> gawk: ../scripts/gen-posix-conf-vars.awk:58: ^ syntax error
> gawk: ../scripts/gen-posix-conf-vars.awk:70: if (conf[p][c] == "SPEC") {
> gawk: ../scripts/gen-posix-conf-vars.awk:70: ^ syntax error
> gawk: ../scripts/gen-posix-conf-vars.awk:72: num = sprintf ("%s_%s", sc_prefixes[p][c], c)
> gawk: ../scripts/gen-posix-conf-vars.awk:72: ^ syntax error
>
>
> INSTALL is still only claiming gawk 3.1.2 or higher.
I didn't notice that array of arrays support was added only in 4.0.
Would it be OK if I kept this broken for now and post a fix tomorrow
(mine comes 5.5 hours earlier than UTC)?
Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141229/c51ff3ad/attachment.sig>
More information about the Libc-alpha
mailing list