[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    Re: pcc build error that has been outstanding for a few days...
From:       B Harder <brad.harder () gmail ! com>
Date:       2014-07-31 17:42:59
Message-ID: CABfrOT_LOzhvts6ep-SB0UVRTwcZiiukaT76_k4Y9B01ODA1Wg () mail ! gmail ! com
[Download RAW message or body]

For now I just patched the offending file w/:

Index: external/bsd/pcc/dist/pcc/arch/amd64/code.c
===================================================================
RCS file: /cvsroot/src/external/bsd/pcc/dist/pcc/arch/amd64/code.c,v
retrieving revision 1.1.1.5
diff -r1.1.1.5 code.c
623a624
>         (void)ap;

===

On 7/31/14, Iain Hibbert <plunky@ogmig.net> wrote:
> apologies, I am away but it may indeed need a patch as GCC is persnickety
> about this. does addition of -Wunused-but-set (or whatever it is :) help it
> along?
>
> On 29 July 2014 17:57:35 BST, B Harder <brad.harder@gmail.com> wrote:
>>I've got an error (transcribing):
>>
>>/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64/code.c:
>>In function 'amd64_builtin_v_arg':
>>/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/arch/amd64/code/c:622:8:
>>error: variable 'ap' set but not used
>>[-Werror=unused-but-set-variable]
>>  NODE *ap, *r, *dp;
>>              ^
>>
>>I've re-run ./build.sh w/o "-u" to an implicit make clean is run, to
>>no effect. Has this indeed been outstanding for a number of days, or
>>am I missing a step to get over a hurdle?
>>
>>Cheers,
>>
>>-bch
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic