amadr.c:171:4: warning: #warning "implement a proper gethostbyaddr_r" [-Wcpp]
#warning "implement a proper gethostbyaddr_r"
^~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/getservbyname.c: In function 'getservbyname_r':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/getservbyname.c:54:4: warning: #warning "implement a proper getservbyport_r" [-Wcpp]
#warning "implement a proper getservbyport_r"
^~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/getservbyport.c: In function 'getservbyport_r':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/getservbyport.c:54:4: warning: #warning "implement a proper getservbyport_r" [-Wcpp]
#warning "implement a proper getservbyport_r"
^~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/inet_makeaddr.c: In function 'inet_makeaddr':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/inet_makeaddr.c:64:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (*(struct in_addr *)&addr);
^~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/res_update.c: In function 'res_update':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/libc/res_update.c:92:12: warning: variable 'ttl' set but not used [-Wunused-but-set-variable]
u_int32_t ttl;
^~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/lib/getprotoby.c:24:1: warning: no previous prototype for 'getprotobyname_static' [-Wmissing-prototypes]
getprotobyname_static (const char *name)
^~~~~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/lib/getprotoby.c:39:1: warning: no previous prototype for 'getprotobynumber_static' [-Wmissing-prototypes]
getprotobynumber_static (int proto)
^~~~~~~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c: In function 'tcp_usr_attach':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c:108:16: warning: variable 'tp' set but not used [-Wunused-but-set-variable]
struct tcpcb *tp = 0;
^~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c: In function 'tcp_usr_bind':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c:184:16: warning: variable 'tp' set but not used [-Wunused-but-set-variable]
struct tcpcb *tp;
^~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c: In function 'tcp_usr_accept':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c:294:16: warning: variable 'tp' set but not used [-Wunused-but-set-variable]
struct tcpcb *tp;
^~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c: In function 'tcp_usr_sockaddr':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c:486:16: warning: variable 'tp' set but not used [-Wunused-but-set-variable]
struct tcpcb *tp;
^~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c: In function 'tcp_usr_peeraddr':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libnetworking/netinet/tcp_usrreq.c:499:16: warning: variable 'tp' set but not used [-Wunused-but-set-variable]
struct tcpcb *tp;
^~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/auth_unix.c:104:1: warning: no previous prototype for 'set_rpc_maxgrouplist' [-Wmissing-prototypes]
set_rpc_maxgrouplist(int num)
^~~~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/clnt_simple.c:67:1: warning: no previous prototype for 'callrpc' [-Wmissing-prototypes]
callrpc(
^~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/get_myaddress.c:83:1: warning: no previous prototype for 'get_myaddress' [-Wmissing-prototypes]
get_myaddress(
^~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/getrpcport.c:54:1: warning: no previous prototype for 'getrpcport' [-Wmissing-prototypes]
getrpcport(
^~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpcdname.c:80:1: warning: no previous prototype for '_rpc_get_default_domain' [-Wmissing-prototypes]
_rpc_get_default_domain(
^~~~~~~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_dtablesize.c:57:1: warning: no previous prototype for '_rpc_dtablesize' [-Wmissing-prototypes]
_rpc_dtablesize(void)
^~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c:107:1: warning: no previous prototype for 'xdr_accepted_reply' [-Wmissing-prototypes]
xdr_accepted_reply(
^~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c: In function 'xdr_accepted_reply':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c:117:2: warning: enumeration value '_ACCEPT_STAT' not handled in switch [-Wswitch]
switch (ar->ar_stat) {
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c: At top level:
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c:140:1: warning: no previous prototype for 'xdr_rejected_reply' [-Wmissing-prototypes]
xdr_rejected_reply(
^~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c: In function 'xdr_rejected_reply':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c:148:2: warning: enumeration value '_REJECT_STAT' not handled in switch [-Wswitch]
switch (rr->rj_stat) {
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c: In function 'accepted':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c:217:2: warning: enumeration value '_ACCEPT_STAT' not handled in switch [-Wswitch]
switch (acpt_stat) {
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c: In function 'rejected':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rpc_prot.c:257:2: warning: enumeration value '_REJECT_STAT' not handled in switch [-Wswitch]
switch (rjct_stat) {
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/rtime.c:77:1: warning: no previous prototype for 'rtime' [-Wmissing-prototypes]
rtime(
^~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/svc_auth_unix.c:61:1: warning: no previous prototype for '_svcauth_unix' [-Wmissing-prototypes]
_svcauth_unix(
^~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/svc_auth_unix.c:149:1: warning: no previous prototype for '_svcauth_short' [-Wmissing-prototypes]
_svcauth_short(
^~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/svc_simple.c:73:1: warning: no previous prototype for 'registerrpc' [-Wmissing-prototypes]
registerrpc(
^~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/librpc/src/rpc/svc_udp.c:348:5: warning: no previous prototype for 'svcudp_enablecache' [-Wmissing-prototypes]
int svcudp_enablecache(
^~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c: In function 'pr_ntime':
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:1913:50: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
(void)snprintf(buf, sizeof(buf), "%02d:%02d:%02d", hour, min, sec);
^
/home/richi/quick-start/src/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:1913:2: note: 'snprintf' output between 9 and 11 bytes into a destination of size 10
(void)snprintf(buf, sizeof(buf), "%02d:%02d:%02d", hour, min, sec);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/richi/quick-start/src/rtems/c/src/lib/libbsp/sparc/leon3/../../../../../../bsps/sparc/leon3/start/setvec.c: In function 'set_vector':
/home/richi/quick-start/src/rtems/c/src/lib/libbsp/sparc/leon3/../../../../../../bsps/sparc/leon3/start/setvec.c:51:43: warning: passing argument 2 of '_CPU_ISR_install_raw_handler' from incompatible pointer type [-Wincompatible-pointer-types]
_CPU_ISR_install_raw_handler( vector, handler, (void *)&previous_isr );
^~~~~~~
In file included from /home/richi/quick-start/src/rtems/cpukit/include/rtems/system.h:23:0,
from /home/richi/quick-start/src/rtems/cpukit/include/rtems.h:29,
from /home/richi/quick-start/src/rtems/bsps/include/bsp/default-initial-extension.h:26,
from /home/richi/quick-start/src/rtems/bsps/sparc/leon3/include/bsp.h:32,
from /home/richi/quick-start/src/rtems/c/src/lib/libbsp/sparc/leon3/../../../../../../bsps/sparc/leon3/start/setvec.c:36:
/home/richi/quick-start/src/rtems/cpukit/score/cpu/sparc/include/rtems/score/cpu.h:955:6: note: expected 'CPU_ISR_raw_handler {aka void (*)(void)}' but argument is of type 'rtems_isr_entry {aka void (*)(unsigned int)}'
void _CPU_ISR_install_raw_handler(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/richi/quick-start/src/rtems/c/src/lib/libbsp/sparc/leon3/../../../../../../bsps/shared/net/smc91111.c:59:0:
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h: In function 'get_reg':
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h:440:27: warning: unused variable 'Irql' [-Wunused-variable]
uint32_t Irql;
^~~~
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h:439:64: warning: unused variable 'c' [-Wunused-variable]
unsigned short val; debug_regs_pair *dbg = debug_regs; int c;
^
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h:439:42: warning: unused variable 'dbg' [-Wunused-variable]
unsigned short val; debug_regs_pair *dbg = debug_regs; int c;
^~~
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h: In function 'put_reg':
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h:471:27: warning: unused variable 'Irql' [-Wunused-variable]
uint32_t Irql;
^~~~
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h:470:44: warning: unused variable 'c' [-Wunused-variable]
debug_regs_pair *dbg = debug_regs; int c;
^
/home/richi/quick-start/src/rtems/bsps/include/libchip/smc91111.h:470:22: warning: unused variable 'dbg' [-Wunused-variable]
debug_regs_pair *dbg = debug_regs; int c;
^~~
sparc-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')
/home/richi/quick-start/src/rtems/c/src/../../testsuites/libtests/dl10/dl10-o6.c:14:5: warning: no previous prototype for 'rtems_main_o5' [-Wmissing-prototypes]
int rtems_main_o5 (void)
^~~~~~~~~~~~~
sparc-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')
sparc-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')
sparc-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')
/home/richi/quick-start/src/rtems/c/src/../../testsuites/libtests/dl10/dl-load.c:109:12: warning: 'dl_call' defined but not used [-Wunused-function]
static int dl_call (void* handle, const char* func)
^~~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/libtests/dl10/dl-load.c:99:13: warning: 'dl_close' defined but not used [-Wunused-function]
static void dl_close (void* handle)
^~~~~~~~
sparc-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isalnum_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isalnum_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isalpha_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isalpha_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isblank_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isblank_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/iscntrl_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/iscntrl_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isdigit_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isdigit_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isgraph_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isgraph_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/islower_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/islower_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isprint_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isprint_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/ispunct_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/ispunct_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isspace_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isspace_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isupper_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isupper_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isxdigit_l.c: In function 'test':
/home/richi/quick-start/src/rtems/c/src/../../testsuites/psxtests/psxhdrs/ctype/isxdigit_l.c:44:12: warning: unused variable 'locale' [-Wunused-variable]
locale_t locale;
^~~~~~
sparc-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')