This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "new" warnings on alphaev6-unknown-linux-gnu
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: "new" warnings on alphaev6-unknown-linux-gnu
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sat, 14 Apr 01 08:25:31 EDT
- Cc: gcc at gcc dot gnu dot org
> > 1339 passing arg ??? of \`???' with different width due to
> > prototype
Richard, what is the nature of the spurious warnings you noted?
Exactly those.
For example:
../../egcs/gcc/gcc.c: In function `init_gcc_specs':
../../egcs/gcc/gcc.c:1319: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:1322: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:1327: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:1332: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c: In function `init_spec':
../../egcs/gcc/gcc.c:1409: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:1422: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c: In function `load_specs':
../../egcs/gcc/gcc.c:1613: warning: passing arg 1 of `xmalloc' with different width due to prototype
../../egcs/gcc/gcc.c:1614: warning: passing arg 3 of `read' with different width due to prototype
../../egcs/gcc/gcc.c:1620: warning: passing arg 1 of `xmalloc' with different width due to prototype
../../egcs/gcc/gcc.c: In function `read_specs':
../../egcs/gcc/gcc.c:1821: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c:1834: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c: In function `build_search_list':
../../egcs/gcc/gcc.c:2030: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:2045: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:2046: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:2058: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:2059: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:2069: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c: In function `split_directories':
../../egcs/gcc/gcc.c:2147: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c:2153: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c: In function `make_relative_prefix':
../../egcs/gcc/gcc.c:2302: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:2307: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:2313: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c: In function `find_a_file':
../../egcs/gcc/gcc.c:2372: warning: passing arg 1 of `xmalloc' with different width due to prototype
../../egcs/gcc/gcc.c: In function `process_command':
../../egcs/gcc/gcc.c:3038: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3040: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3222: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3224: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3230: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3247: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3267: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3282: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3304: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3356: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3365: warning: passing arg 1 of `xmalloc' with different width due to prototype
../../egcs/gcc/gcc.c:3366: warning: passing arg 3 of `strncpy' with different width due to prototype
../../egcs/gcc/gcc.c:3635: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3637: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3645: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3647: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3701: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3723: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3730: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:3793: warning: passing arg 1 of `xmalloc' with different width due to prototype
../../egcs/gcc/gcc.c: In function `do_spec_1':
../../egcs/gcc/gcc.c:4052: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4057: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4217: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4229: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4255: warning: passing arg 3 of `strncpy' with different width due to prototype
../../egcs/gcc/gcc.c:4266: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:4291: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4298: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4338: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4377: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c:4388: warning: passing arg 2 of `add_linker_option' with different width due to prototype
../../egcs/gcc/gcc.c:4518: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:4555: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:4606: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:4649: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:4731: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:4760: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:4846: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:4849: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c: In function `handle_braces':
../../egcs/gcc/gcc.c:4989: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c:4999: warning: passing arg 2 of `check_live_switch' with different width due to prototype
../../egcs/gcc/gcc.c:5039: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c:5042: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:5066: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:5141: warning: passing arg 2 of `save_string' with different width due to prototype
../../egcs/gcc/gcc.c: In function `check_live_switch':
../../egcs/gcc/gcc.c:5190: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c: In function `is_directory':
../../egcs/gcc/gcc.c:5331: warning: passing arg 1 of `__builtin_alloca' with different width due to prototype
../../egcs/gcc/gcc.c:5343: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5344: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c: In function `main':
../../egcs/gcc/gcc.c:5488: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5495: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5502: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5512: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5526: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5527: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5546: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5555: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5558: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5562: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5563: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5566: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5567: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5571: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5575: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5576: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5579: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5580: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5583: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c:5794: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:5817: warning: passing arg 1 of `xcalloc' with different width due to prototype
../../egcs/gcc/gcc.c:5817: warning: passing arg 2 of `xcalloc' with different width due to prototype
../../egcs/gcc/gcc.c: In function `lookup_compiler':
../../egcs/gcc/gcc.c:6001: warning: passing arg 2 of `lookup_compiler' with different width due to prototype
../../egcs/gcc/gcc.c: In function `save_string':
../../egcs/gcc/gcc.c:6011: warning: passing arg 1 of `xmalloc' with different width due to prototype
../../egcs/gcc/gcc.c:6013: warning: passing arg 3 of `memcpy' with different width due to prototype
../../egcs/gcc/gcc.c: In function `used_arg':
../../egcs/gcc/gcc.c:6282: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:6295: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c: In function `default_arg':
../../egcs/gcc/gcc.c:6319: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c: In function `set_multilib_dir':
../../egcs/gcc/gcc.c:6388: warning: passing arg 2 of `used_arg' with different width due to prototype
../../egcs/gcc/gcc.c:6459: warning: passing arg 2 of `default_arg' with different width due to prototype
../../egcs/gcc/gcc.c:6461: warning: passing arg 2 of `used_arg' with different width due to prototype
../../egcs/gcc/gcc.c:6475: warning: passing arg 1 of `xmalloc' with different width due to prototype
../../egcs/gcc/gcc.c:6476: warning: passing arg 3 of `strncpy' with different width due to prototype
../../egcs/gcc/gcc.c: In function `print_multilib_info':
../../egcs/gcc/gcc.c:6584: warning: passing arg 2 of `default_arg' with different width due to prototype
../../egcs/gcc/gcc.c:6616: warning: passing arg 3 of `strncmp' with different width due to prototype
../../egcs/gcc/gcc.c:6650: warning: passing arg 2 of `default_arg' with different width due to prototype