Mainline build problems

Aaron Gray angray@beeb.net
Mon May 14 19:08:00 GMT 2007


> On 14 May 2007 18:48, Aaron Gray wrote:
>
>> There are problems with :-
>>
>>         print-rtl.c:395
>>         c-common.c:4099
>>         c-pretty-print.c:822
>>         dwarf2asm.c:56
>>         dwarf2out.c:...
>>
>> It seems to be a unsigned issue to do with HOST_WIDE_INT_PRINT_HEX,
>> HOST_WIDE_INT_PRINT_DOUBLE_HEX and friends.
>
>  Could you possibly be any more vague please?  I was overwhelmed by the 
> sheer
> deluge of information in that post....  <g>
>
>  Seriously, Aaron, what kind of use is that report supposed to be?  No 
> clue
> as to what the "problem" is or even why you think one exists, no mention 
> of
> any error messages or warnings you might have seen, no mention of any 
> symptoms
> or misbehaviour that are why you think there is or may be problems, no
> description other than "unsigned issue" of which there are many and 
> varied, no
> clue as to why you make the inference that
> whatever-it-is-that-you-haven't-told-us might be related to those two 
> format
> strings....
>
>  Would you mind trying again please?  Your last report was much better!

Getting the following error on building from SVN trunk.

gcc/print-rtl.c:397: error: format '%lx' expects type 'long unsigned int', 
but argument 3 has type 'long int'

gcc/c-common.c:4099: error: format '%lx' expects type 'long unsigned int', 
but argument 4 has type 'long int'
gcc/c-common.c:4099: error: format '%lx' expects type 'long unsigned int', 
but argument 4 has type 'long int'

gcc/c-pretty-print.c:822: error: format '%lx' expects type 'long unsigned 
int', but argument 3 has type 'long int'

gcc/dwarf2asm.c:56: error: format '%lx' expects type 'long unsigned int', 
but argument 3 has type 'long int'

gcc/dwarf2out.c:2074: error: format '%lx' expects type 'long unsigned int', 
but argument 4 has type 'long int'
gcc/dwarf2out.c:5772: error: format '%4lu' expects type 'long unsigned int', 
but argument 3 has type 'dw_offset'
gcc/dwarf2out.c:5775: error: format '%lu' expects type 'long unsigned int', 
but argument 3 has type 'dw_offset'
gcc/dwarf2out.c:5823: error: format '%lu' expects type 'long unsigned int', 
but argument 3 has type 'dw_offset'
gcc/dwarf2out.c:7094: error: format '%lx' expects type 'long unsigned int', 
but argument 3 has type 'dw_offset'
gcc/dwarf2out.c:7276: error: format '%lx' expects type 'long unsigned int', 
but argument 4 has type 'dw_offset'

There maybe more ...

Aaron 



More information about the Gcc mailing list