Current-Users archive

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

Re: pcc build error that has been outstanding for a few days...



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@localhost> 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@localhost> 
> 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.


Home | Main Index | Thread Index | Old Index