[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Warnings when compiling the Hurd
From: |
Thomas Schwinge |
Subject: |
Warnings when compiling the Hurd |
Date: |
Thu, 14 Jun 2007 16:35:56 +0200 |
User-agent: |
Mutt/1.5.11 |
Hello!
| <youpi> btw, I've realized they is a bunch of warnings while compiling
| the Hurd, these should probably deserve killed
| <azeem> somebody should try with gcc-4.2/gcc-4.3 :)
Here is the list when compiling with GCC 4.1. So far, I didn't try with
4.2 or 4.3.
This was with plain Hurd cvs HEAD, plus my ``struct stat'' patch, to make
it build at all.
It may be that some warnings are missing from this list, as I started
working on eliminating them on some afternoon a week ago or so, but I
don't remember if I assembled this following list before or after having
started eliminating them. I guess I should simply install the few fixes
I did so far or post them here for your perusal.
I'll also go about updating the ``struct stat'' patch, according to
Samuel's and Roland's suggestions, thanks!
Such an analysis should also be done for (the Hurd and Mach parts of)
glibc!
I stripped the `pfinet' warnings (mainly from the imported Linux 2.2.x
code -- we should perhaps be compiling this with fewer optimizations
(`-fno-strict-aliasing' comes to mind) and with fewer compiler warnings
enabled?) and `ufs' warnings (I don't know if anybody is using this code
anymore?).
#v+
../../libstore/unzipstore.c: In function ???zwrite???:
../../libstore/unzipstore.c:140: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../../libdiskfs/io-map-cntl.c: In function ???diskfs_S_io_map_cntl???:
../../libdiskfs/io-map-cntl.c:37: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../../libtrivfs/io-restrict-auth.c: In function ???trivfs_S_io_restrict_auth???:
../../libtrivfs/io-restrict-auth.c:76: warning: pointer targets in passing
argument 1 of ???listmember??? differ in signedness
../../libtrivfs/io-restrict-auth.c:84: warning: pointer targets in passing
argument 1 of ???listmember??? differ in signedness
../../libps/procstat.c: In function ???proc_stat_set_flags???:
../../libps/procstat.c:967: warning: pointer targets in passing argument 4 of
???ps_msg_get_init_int??? differ in signedness
../../libps/write.c: In function ???noise_write???:
../../libps/write.c:58: warning: pointer targets in initialization differ in
signedness
../../libps/write.c:68: warning: pointer targets in passing argument 2 of
???flush??? differ in signedness
../../libps/write.c:81: warning: pointer targets in passing argument 2 of
???flush??? differ in signedness
../../libps/write.c: In function ???ps_stream_write???:
../../libps/write.c:137: warning: pointer targets in passing argument 1 of
???noise_write??? differ in signedness
../../libpipe/pq.c: In function ???packet_extend???:
../../libpipe/pq.c:189: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../libftpconn/reply.c: In function ???ftp_conn_get_raw_reply???:
../../libftpconn/reply.c:155: warning: ???len??? may be used uninitialized in
this function
../../libftpconn/reply.c:154: warning: ???l??? may be used uninitialized in
this function
../../libftpconn/reply.c: In function ???ftp_conn_get_reply???:
../../libftpconn/reply.c:155: warning: ???len??? may be used uninitialized in
this function
../../libftpconn/reply.c:154: warning: ???l??? may be used uninitialized in
this function
../../libftpconn/reply.c:230: warning: ???code??? may be used uninitialized in
this function
../../libpthread/pthread/pt-join.c: In function ???pthread_join???:
../../libpthread/pthread/pt-join.c:40: warning: initialization from
incompatible pointer type
../../libpthread/sysdeps/mach/hurd/i386/pt-setup.c: In function
???stack_setup???:
../../libpthread/sysdeps/mach/hurd/i386/pt-setup.c:61: warning: assignment
makes integer from pointer without a cast
../../exec/hostarch.c: In function ???elf_machine_matches_host???:
../../exec/hostarch.c:42: warning: pointer targets in passing argument 3 of
???host_info??? differ in signedness
../../exec/exec.c: In function ???map???:
../../exec/exec.c:485: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/exec.c: In function ???prepare???:
../../exec/exec.c:745: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/do-bunzip2.c: In function ???cleanUpAndFail???:
../../exec/do-bunzip2.c:1648: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../exec/do-bunzip2.c:1649: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../exec/do-bunzip2.c:1650: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../exec/do-bunzip2.c:1651: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../init/init.c: In function ???reboot_system???:
../../init/init.c:259: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../ext2fs/balloc.c: In function ???block_in_use???:
../../ext2fs/balloc.c:410: warning: pointer targets in passing argument 2 of
???test_bit??? differ in signedness
../../ext2fs/balloc.c: In function ???ext2_check_blocks_bitmap???:
../../ext2fs/balloc.c:468: warning: pointer targets in passing argument 2 of
???block_in_use??? differ in signedness
../../ext2fs/balloc.c:471: warning: pointer targets in passing argument 2 of
???block_in_use??? differ in signedness
../../ext2fs/balloc.c:475: warning: pointer targets in passing argument 2 of
???block_in_use??? differ in signedness
../../ext2fs/dir.c: In function ???dirscanblock???:
../../ext2fs/dir.c:410: warning: comparison is always false due to limited
range of data type
../../isofs/inode.c: In function ???read_disknode???:
../../isofs/inode.c:433: warning: pointer targets in passing argument 1 of
???isodate_915??? differ in signedness
../../isofs/lookup.c: In function ???dirscanblock???:
../../isofs/lookup.c:187: warning: pointer targets in passing argument 1 of
???isonamematch??? differ in signedness
../../isofs/lookup.c: In function ???diskfs_lookup_hard???:
../../isofs/lookup.c:73: warning: ???record??? may be used uninitialized in
this function
../../isofs/rr.c: In function ???rrip_work???:
../../isofs/rr.c:97: warning: pointer targets in assignment differ in signedness
../../isofs/rr.c:149: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:150: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:151: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:334: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:335: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:336: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:337: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:350: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:350: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:492: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:543: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:561: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:588: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../isofs/rr.c:600: warning: pointer targets in passing argument 1 of
???isonum_733??? differ in signedness
../../nfs/ops.c: In function ???netfs_get_dirents???:
../../nfs/ops.c:1823: warning: ???our_bufsiz??? may be used uninitialized in
this function
../../nfs/ops.c:1822: warning: ???buf??? may be used uninitialized in this
function
../../fatfs/inode.c: In function ???read_node???:
../../fatfs/inode.c:303: warning: comparison between pointer and integer
../../fatfs/inode.c:387: warning: pointer targets in passing argument 1 of
???fat_to_epoch??? differ in signedness
../../fatfs/inode.c:387: warning: pointer targets in passing argument 2 of
???fat_to_epoch??? differ in signedness
../../fatfs/inode.c: In function ???write_node???:
../../fatfs/inode.c:518: warning: pointer targets in passing argument 1 of
???fat_from_epoch??? differ in signedness
../../fatfs/inode.c:518: warning: pointer targets in passing argument 2 of
???fat_from_epoch??? differ in signedness
../../fatfs/dir.c: In function ???dirscanblock???:
../../fatfs/dir.c:497: warning: pointer targets in passing argument 1 of
???fatnamematch??? differ in signedness
../../fatfs/dir.c: In function ???diskfs_get_directs???:
../../fatfs/dir.c:933: warning: pointer targets in passing argument 1 of
???fat_to_unix_filename??? differ in signedness
../../fatfs/fat.c: In function ???fat_read_sblock???:
../../fatfs/fat.c:76: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../fatfs/fat.c:76: warning: pointer targets in passing argument 5 of
???store_read??? differ in signedness
../../fatfs/fat.c: In function ???fat_to_epoch???:
../../fatfs/fat.c:724: warning: pointer targets in passing argument 1 of
???read_word??? differ in signedness
../../fatfs/fat.c:725: warning: pointer targets in passing argument 1 of
???read_word??? differ in signedness
../../fatfs/fat.c:726: warning: pointer targets in passing argument 1 of
???read_word??? differ in signedness
../../fatfs/fat.c:727: warning: pointer targets in passing argument 1 of
???read_word??? differ in signedness
../../fatfs/fat.c:728: warning: pointer targets in passing argument 1 of
???read_word??? differ in signedness
../../fatfs/fat.c:729: warning: pointer targets in passing argument 1 of
???read_word??? differ in signedness
../../fatfs/fat.c: In function ???fat_from_epoch???:
../../fatfs/fat.c:757: warning: pointer targets in passing argument 1 of
???write_word??? differ in signedness
../../fatfs/fat.c:759: warning: pointer targets in passing argument 1 of
???write_word??? differ in signedness
../../fatfs/node-create.c: In function ???diskfs_create_node???:
../../fatfs/node-create.c:180: warning: passing argument 2 of
???diskfs_lookup??? discards qualifiers from pointer target type
../../storeio/dev.c:104: warning: parameter ???buf_rw??? declared ???inline???
../../storeio/dev.c:234: warning: parameter ???buf_rw??? declared ???inline???
../../storeio/dev.c:237: warning: parameter ???raw_rw??? declared ???inline???
../../storeio/dev.c:295: warning: parameter ???buf_rw??? declared ???inline???
../../storeio/dev.c:298: warning: parameter ???raw_rw??? declared ???inline???
../../storeio/storeio.c: In function ???open_hook???:
../../storeio/storeio.c:252: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../mach-defpager/../serverboot/default_pager.c: In function
???partition_of???:
../../mach-defpager/../serverboot/default_pager.c:129: warning: implicit
declaration of function ???panic???
../../mach-defpager/../serverboot/default_pager.c: In function ???part_id???:
../../mach-defpager/../serverboot/default_pager.c:151: warning: implicit
declaration of function ???strlen???
../../mach-defpager/../serverboot/default_pager.c:151: warning: incompatible
implicit declaration of built-in function ???strlen???
../../mach-defpager/../serverboot/default_pager.c: At top level:
../../mach-defpager/../serverboot/default_pager.c:161: warning: return type
defaults to ???int???
../../mach-defpager/../serverboot/default_pager.c: In function
???new_partition???:
../../mach-defpager/../serverboot/default_pager.c:206: warning: implicit
declaration of function ???bzero???
../../mach-defpager/../serverboot/default_pager.c:206: warning: incompatible
implicit declaration of built-in function ???bzero???
../../mach-defpager/../serverboot/default_pager.c:239: warning: implicit
declaration of function ???memcpy???
../../mach-defpager/../serverboot/default_pager.c:239: warning: incompatible
implicit declaration of built-in function ???memcpy???
../../mach-defpager/../serverboot/default_pager.c:244: warning: implicit
declaration of function ???memcmp???
../../mach-defpager/../serverboot/default_pager.c:259: warning: implicit
declaration of function ???memset???
../../mach-defpager/../serverboot/default_pager.c:259: warning: incompatible
implicit declaration of built-in function ???memset???
../../mach-defpager/../serverboot/default_pager.c:345: warning: implicit
declaration of function ???kfree???
../../mach-defpager/../serverboot/default_pager.c: In function
???create_paging_partition???:
../../mach-defpager/../serverboot/default_pager.c:440: warning: implicit
declaration of function ???no_paging_space???
../../mach-defpager/../serverboot/default_pager.c:441: warning: incompatible
implicit declaration of built-in function ???bzero???
../../mach-defpager/../serverboot/default_pager.c:444: warning: implicit
declaration of function ???bcopy???
../../mach-defpager/../serverboot/default_pager.c:444: warning: incompatible
implicit declaration of built-in function ???bcopy???
../../mach-defpager/../serverboot/default_pager.c:458: warning: implicit
declaration of function ???overcommitted???
../../mach-defpager/../serverboot/default_pager.c: In function
???pager_alloc_page???:
../../mach-defpager/../serverboot/default_pager.c:516: warning: type of
???lock_it??? defaults to ???int???
../../mach-defpager/../serverboot/default_pager.c: In function
???pager_dealloc_page???:
../../mach-defpager/../serverboot/default_pager.c:580: warning: type of
???lock_it??? defaults to ???int???
../../mach-defpager/../serverboot/default_pager.c: In function
???pager_truncate???:
../../mach-defpager/../serverboot/default_pager.c:1086: warning: incompatible
implicit declaration of built-in function ???memcpy???
../../mach-defpager/../serverboot/default_pager.c:1116: warning: incompatible
implicit declaration of built-in function ???memcpy???
../../mach-defpager/../serverboot/default_pager.c: At top level:
../../mach-defpager/../serverboot/default_pager.c:1188: warning: return type
defaults to ???int???
../../mach-defpager/../serverboot/default_pager.c: In function
???default_read???:
../../mach-defpager/../serverboot/default_pager.c:1728: warning: incompatible
implicit declaration of built-in function ???bcopy???
../../mach-defpager/../serverboot/default_pager.c: In function
???pager_port_alloc???:
../../mach-defpager/../serverboot/default_pager.c:2222: warning: incompatible
implicit declaration of built-in function ???bzero???
../../mach-defpager/../serverboot/default_pager.c: In function
???seqnos_memory_object_lock_completed???:
../../mach-defpager/../serverboot/default_pager.c:2903: warning: implicit
declaration of function ???default_pager_object_set_size_reply???
../../mach-defpager/../serverboot/default_pager.c: In function
???S_default_pager_info???:
../../mach-defpager/../serverboot/default_pager.c:3360: warning: implicit
declaration of function ???paging_space_info???
../../mach-defpager/../serverboot/default_pager.c: In function
???S_default_pager_paging_file???:
../../mach-defpager/../serverboot/default_pager.c:3782: warning: implicit
declaration of function ???add_paging_file???
../../mach-defpager/../serverboot/default_pager.c:3785: warning: implicit
declaration of function ???remove_paging_file???
../../mach-defpager/../serverboot/default_pager.c: At top level:
../../mach-defpager/../serverboot/default_pager.c:3796: warning: return type
defaults to ???int???
../../mach-defpager/../serverboot/default_pager.c:3812: warning: return type
defaults to ???int???
../../mach-defpager/../serverboot/default_pager.c:3822: warning: return type
defaults to ???int???
../../mach-defpager/../serverboot/default_pager.c: In function
???overcommitted???:
../../mach-defpager/../serverboot/default_pager.c:3844: warning: ???return???
with no value, in function returning non-void
../../mach-defpager/../serverboot/default_pager.c: At top level:
../../mach-defpager/../serverboot/default_pager.c:3863: warning: return type
defaults to ???int???
../../mach-defpager/../serverboot/kalloc.c: In function ???kget_space???:
../../mach-defpager/../serverboot/kalloc.c:145: warning: implicit declaration
of function ???wire_memory???
../../mach-defpager/../serverboot/wiring.c: In function ???wire_memory???:
../../mach-defpager/../serverboot/wiring.c:60: warning: implicit declaration of
function ???panic???
../../mach-defpager/main.c: In function ???main???:
../../mach-defpager/main.c:105: warning: implicit declaration of function
???strcmp???
../../mach-defpager/main.c:139: warning: implicit declaration of function
???partition_init???
../../mach-defpager/setup.c: In function ???S_default_pager_paging_storage???:
../../mach-defpager/setup.c:58: warning: implicit declaration of function
???remove_paging_file???
../../mach-defpager/setup.c:80: warning: implicit declaration of function
???ffs???
../../mach-defpager/setup.c:90: warning: implicit declaration of function
???kfree???
../../mach-defpager/setup.c:97: warning: implicit declaration of function
???create_paging_partition???
../../mach-defpager/setup.c: In function ???page_read_file_direct???:
../../mach-defpager/setup.c:159: warning: implicit declaration of function
???memcpy???
../../mach-defpager/setup.c:159: warning: incompatible implicit declaration of
built-in function ???memcpy???
../../mach-defpager/setup.c: In function ???add_paging_file???:
../../mach-defpager/setup.c:254: warning: implicit declaration of function
???strncmp???
../../mach-defpager/setup.c: In function ???remove_paging_file???:
../../mach-defpager/setup.c:298: warning: implicit declaration of function
???destroy_paging_partition???
../../daemons/getty.c: In function ???main???:
../../daemons/getty.c:130: warning: missing sentinel in function call
../../daemons/getty.c:133: warning: missing sentinel in function call
../../daemons/lmail.c: In function ???main???:
../../daemons/lmail.c:513: warning: ???cached??? may be used uninitialized in
this function
../../nfsd/fsys.c: In function ???init_filesystems???:
../../nfsd/fsys.c:75: warning: format ???%a??? expects type ???float *???, but
argument 4 has type ???char **???
../../boot/boot_script.c: In function ???add_arg???:
../../boot/boot_script.c:188: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../boot/boot_script.c: In function ???sym_enter???:
../../boot/boot_script.c:221: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../boot/boot_script.c: In function ???boot_script_parse_line???:
../../boot/boot_script.c:281: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../boot/boot_script.c:364: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../exec/elfcore.c: In function ???dump_core???:
../../exec/elfcore.c:342: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:375: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:375: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:378: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:378: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:380: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:380: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:383: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:386: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../exec/elfcore.c:386: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../trans/streamio.c: In function ???dev_open???:
../../trans/streamio.c:779: warning: passing argument 4 of
???device_open_request??? discards qualifiers from pointer target type
../../trans/fakeroot.c: In function ???netfs_attempt_utimes???:
../../trans/fakeroot.c:520: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../trans/fakeroot.c:520: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../console-client/driver.c: In function ???driver_add???:
../../console-client/driver.c:133: warning: unused variable ???errstring???
../../console-client/bdf.c: In function ???next_line???:
../../console-client/bdf.c:137: warning: pointer targets in passing argument 2
of ???getline??? differ in signedness
../../console-client/vga-dynafont.c: In function ???vga_add_glyph???:
../../console-client/vga-dynafont.c:342: warning: pointer targets in passing
argument 9 of ???bdf_add_glyph??? differ in signedness
../../console-client/vga-dynafont.c: In function ???create_system_font???:
../../console-client/vga-dynafont.c:357: warning: pointer targets in passing
argument 3 of ???vga_read_font_buffer??? differ in signedness
../../console-client/vga-support.c: In function ???vga_init???:
../../console-client/vga-support.c:184: warning: pointer targets in passing
argument 3 of ???vga_read_font_buffer??? differ in signedness
../../console-client/vga-support.c: In function ???vga_fini???:
../../console-client/vga-support.c:201: warning: pointer targets in passing
argument 3 of ???vga_write_font_buffer??? differ in signedness
../../console-client/vga.c: In function ???vga_display_scroll???:
../../console-client/vga.c:492: warning: value computed is not used
../../console-client/vga.c:493: warning: value computed is not used
../../console-client/vga.c: In function ???vga_display_clear???:
../../console-client/vga.c:634: warning: value computed is not used
../../console-client/vga.c:635: warning: value computed is not used
../../console-client/vga.c: In function ???vga_display_write???:
../../console-client/vga.c:706: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../console-client/vga.c:706: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../console-client/vga.c:719: warning: value computed is not used
../../console-client/vga.c:720: warning: value computed is not used
../../console-client/vga.c:737: warning: value computed is not used
../../console-client/vga.c:738: warning: value computed is not used
../../console-client/pc-kbd.c: In function ???update_leds???:
../../console-client/pc-kbd.c:640: warning: pointer targets in passing argument
6 of ???device_write_inband??? differ in signedness
../../console-client/pc-kbd.c:643: warning: pointer targets in passing argument
6 of ???device_write_inband??? differ in signedness
../../console-client/pc-mouse.c: In function ???input_loop???:
../../console-client/pc-mouse.c:245: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../../console-client/ncursesw.c: In function ???mvwputsn???:
../../console-client/ncursesw.c:447: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../../console-client/ncursesw.c:457: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../../console-client/ncursesw.c:459: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../../utils/shd.c: In function ???run???:
../../utils/shd.c:109: warning: ???save0??? may be used uninitialized in this
function
../../utils/shd.c:109: warning: ???save1??? may be used uninitialized in this
function
../../utils/login.c: In function ???check_owned???:
../../utils/login.c:268: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../../utils/vmstat.c: In function ???main???:
../../utils/vmstat.c:558: warning: null argument where non-null required
(argument 1)
../../utils/vmstat.c:589: warning: null argument where non-null required
(argument 1)
../../utils/msgport.c: In function ???cmd_umask???:
../../utils/msgport.c:417: warning: pointer targets in passing argument 4 of
???msg_get_init_int??? differ in signedness
../../utils/rpctrace.c: In function ???parse_msgid_list???:
../../utils/rpctrace.c:112: warning: format ???%a??? expects type ???float
*???, but argument 3 has type ???char **???
../../utils/rpctrace.c:112: warning: format ???%a??? expects type ???float
*???, but argument 4 has type ???char **???
../../utils/rpctrace.c: In function ???print_contents???:
../../utils/rpctrace.c:634: warning: suggest explicit braces to avoid ambiguous
???else???
../../utils/rpctrace.c: In function ???trace_and_forward???:
../../utils/rpctrace.c:765: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../utils/rpctrace.c:765: warning: dereferencing type-punned pointer will
break strict-aliasing rules
../../benchmarks/forks.c: In function ???main???:
../../benchmarks/forks.c:20: warning: type of ???argc??? defaults to ???int???
#v-
Regards,
Thomas
signature.asc
Description: Digital signature
- Warnings when compiling the Hurd,
Thomas Schwinge <=