This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wundef fixes


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

Attachment: pgpTZHsYx8GFU.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]