gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] gcl-cvs, Tiger: unexmacos.c


From: Clemens Heitzinger
Subject: [Gcl-devel] gcl-cvs, Tiger: unexmacos.c
Date: Tue, 10 May 2005 20:17:14 -0700

Removes a warning and a problem with the type of sbrk.


Attachment: gcl-unexmacosx.diffu
Description: Binary data




There are lots of warnings in unexmacos.c:


gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame- pointer -I/Users/Clemens/src/gcl-cvs/o -I../h -I../gcl-tk unixsave.c
In file included from unixsave.c:32:
unexmacosx.c: In function 'print_load_command':
unexmacosx.c:531: warning: format '%#10lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t' unexmacosx.c:541: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t' unexmacosx.c:541: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t' unexmacosx.c:547: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t' unexmacosx.c:547: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t'
unexmacosx.c: In function 'read_load_commands':
unexmacosx.c:574: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t' unexmacosx.c:577: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t' unexmacosx.c:578: warning: format '%ld' expects type 'long int', but argument 2 has type 'uint32_t' unexmacosx.c:579: warning: format '%ld' expects type 'long int', but argument 2 has type 'uint32_t' unexmacosx.c:580: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'uint32_t'
unexmacosx.c: In function 'copy_segment':
unexmacosx.c:660: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t' unexmacosx.c:660: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t' unexmacosx.c:660: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t'
unexmacosx.c: In function 'copy_data_segment':
unexmacosx.c:698: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t' unexmacosx.c:698: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t' unexmacosx.c:698: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t' unexmacosx.c:746: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t' unexmacosx.c:746: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t' unexmacosx.c:746: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t' unexmacosx.c:834: warning: format '%#10lx' expects type 'long unsigned int', but argument 3 has type 'uint32_t' unexmacosx.c:834: warning: format '%#10lx' expects type 'long unsigned int', but argument 4 has type 'uint32_t' unexmacosx.c:834: warning: format '%#10lx' expects type 'long unsigned int', but argument 5 has type 'uint32_t'


reply via email to

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