2.5.2-pre8 -- compile error in ieee1394/highlevel.c, pcilynx.c

From: Miles Lane (miles@megapathdsl.net)
Date: Sat Jan 05 2002 - 02:34:56 EST


Most of these are gcc 3.0.x-specific warnings:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o pcilynx.o pcilynx.c
pcilynx.c: In function `get_phy_reg':
pcilynx.c:164: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
pcilynx.c:176: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
pcilynx.c: In function `set_phy_reg':
pcilynx.c:199: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
pcilynx.c:205: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
pcilynx.c: In function `sel_phy_reg_page':
pcilynx.c:225: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
pcilynx.c: In function `mem_open':
pcilynx.c:797: invalid operands to binary &
pcilynx.c: In function `mem_read':
pcilynx.c:1013: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
pcilynx.c: At top level:
pcilynx.c:775: warning: `aux_ops' defined but not used
make[3]: *** [pcilynx.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/ieee1394'

Other __FUNCTION__ usage warnings:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o ieee1394_transactions.o ieee1394_transactions.c
ieee1394_transactions.c: In function `hpsb_packet_success':
ieee1394_transactions.c:249: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
ieee1394_transactions.c:293: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o highlevel.o highlevel.c
In file included from highlevel.c:14:
ieee1394_types.h: In function `memcpy_le32':
ieee1394_types.h:107: warning: implicit declaration of function `memcpy'
highlevel.c: In function `hpsb_register_addrspace':
highlevel.c:90: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
highlevel.c: In function `hpsb_listen_channel':
highlevel.c:134: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future
highlevel.c: In function `hpsb_unlisten_channel':
highlevel.c:147: warning: concatenation of string literals with __FUNCTION__ is deprecated. This feature will be removed in future

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:28 EST