bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] build: fix build of variables.c


From: Chet Ramey
Subject: Re: [PATCH] build: fix build of variables.c
Date: Fri, 17 Apr 2015 13:42:12 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/17/15 1:38 PM, Eric Blake wrote:
> On 04/17/2015 11:01 AM, Chet Ramey wrote:
>> On 4/17/15 10:26 AM, Eric Blake wrote:
>>> gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"'
>>> -DCONF_OSTYPE='"linux-gnu"'
>>> -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"'
>>> -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/usr/local/share/locale"'
>>> -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DDEBUG -DMALLOC_DEBUG
>>> -I.  -I. -I./include -I./lib   -g -O2 -Wno-parentheses
>>> -Wno-format-security -c variables.c variables.c: In function
>>> ‘initialize_shell_variables’: variables.c:425:7: error: ‘else’
>>> without a previous ‘if’ else ^
>> 
>> What non-default options did you enable when you attempted the
>> build?
> 
> None that I recall (merely git checkout, ./configure; make).  Maybe
> it had something to do with the fact that I had been incrementally
> building from earlier points in the tree, as a fresh checkout doesn't
> seem to reproduce the problem?

OK.  I can't reproduce it either.

- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlUxRfQACgkQu1hp8GTqdKuBtQCfQEDAyotR6/kqthK07XuXCrjB
PSEAn1dJT6GC+x+NnjOjVS0lY85yWwpo
=nZHv
-----END PGP SIGNATURE-----



reply via email to

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