Warnings on RTEMS master

Joel Sherrill joel at rtems.org
Sun Mar 20 20:08:20 UTC 2016


Hi

With the gcc and RTEMS masters, the warnings have crept up again.
This is the summary.

As always, this is something that takes continuous vigilance and
anyone in the community can contribute. Take a look at your build
logs and see if you can submit a patch or few to fix some warnings.

Thanks.

Unique Warnings         :  202
BSPs                    :  172
BSPs with Zero          :  0
BSPs with only in shared:  103

====================================
         Warnings by Class
====================================
      2 aggressive-loop-optimizations
      1 array-bounds
      1 deprecated-declarations
      3 discarded-array-qualifiers
      1 discarded-qualifiers
      3 frame-address
      7 implicit-function-declaration
      5 incompatible-pointer-types
      5 int-conversion
      4 maybe-uninitialized
      9 misleading-indentation
     75 missing-prototypes
      7 nested-externs
      1 shift-overflow=
      1 strict-aliasing
      4 strict-prototypes
     36 unused-but-set-variable
     11 unused-const-variable=
      4 unused-function
     13 unused-local-typedefs
      1 unused-variable

====================================
     Top Ten BSPs with Warnings
====================================
31 powerpc-mvme5500  (inBSP=13 inLibCPU=0)
32 powerpc-beatnik  (inBSP=14 inLibCPU=0)
32 powerpc-mcp750  (inBSP=14 inLibCPU=0)
32 powerpc-mtx603e  (inBSP=14 inLibCPU=0)
32 powerpc-mvme2100  (inBSP=14 inLibCPU=0)
32 powerpc-mvme2307  (inBSP=14 inLibCPU=0)
33 powerpc-qemuprep-altivec  (inBSP=15 inLibCPU=0)
33 powerpc-qemuprep  (inBSP=15 inLibCPU=0)
35 powerpc-mvme3100  (inBSP=17 inLibCPU=0)
60 powerpc-psim  (inBSP=18 inLibCPU=0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160320/004f23ed/attachment-0001.html>
-------------- next part --------------
    171 ../../../../../../rtems/c/src/../../cpukit/libmisc/cpuuse/cpuusagetop.c:468:25: warning: unused variable 'last' [-Wunused-variable]
    170 ../../../../../../rtems/c/src/../../cpukit/libstdthreads/thrd.c:99:1: warning: 'noreturn' function does return
    169 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/main_hexdump.c:39:19: warning: 'copyright' defined but not used [-Wunused-const-variable=]
    169 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/hexdump-conv.c:39:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=]
    169 ../../../../../../rtems/c/src/../../cpukit/libmisc/monitor/mon-prmisc.c:211:28: warning: 'rtems_monitor_events_assoc' defined but not used [-Wunused-const-variable=]
    168 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/main_date.c:54:5: warning: nested extern declaration of 'strptime' [-Wnested-externs]
    168 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/main_date.c:54:14: warning: implicit declaration of function 'strptime' [-Wimplicit-function-declaration]
    168 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/main_date.c:54:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    168 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/hexdump-odsyntax.c:370:2: warning: nested extern declaration of 'asprintf' [-Wnested-externs]
    168 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/hexdump-odsyntax.c:370:2: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration]
    167 ../../../../../../../rtems/c/src/../../testsuites/fstests/fsfseeko01/init.c:61:8: warning: implicit declaration of function 'fseeko' [-Wimplicit-function-declaration]
    167 ../../../../../../../rtems/c/src/../../testsuites/fstests/fsfseeko01/init.c:61:3: warning: nested extern declaration of 'fseeko' [-Wnested-externs]
    167 ../../../../../../../rtems/c/src/../../testsuites/fstests/fsfseeko01/init.c:56:3: warning: nested extern declaration of 'ftello' [-Wnested-externs]
    167 ../../../../../../../rtems/c/src/../../testsuites/fstests/fsfseeko01/init.c:56:16: warning: implicit declaration of function 'ftello' [-Wimplicit-function-declaration]
    167 ../../../../../../rtems/c/src/../../cpukit/mghttpd/mongoose.c:2959:5: warning: nested extern declaration of 'fseeko' [-Wnested-externs]
    167 ../../../../../../rtems/c/src/../../cpukit/mghttpd/mongoose.c:2959:5: warning: implicit declaration of function 'fseeko' [-Wimplicit-function-declaration]
    167 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/hexdump-display.c:419:8: warning: implicit declaration of function 'fseeko' [-Wimplicit-function-declaration]
    167 ../../../../../../rtems/c/src/../../cpukit/libmisc/shell/hexdump-display.c:419:4: warning: nested extern declaration of 'fseeko' [-Wnested-externs]
     84 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../powerpc/shared/openpic/openpic.c:70:2: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
     14 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/psim/../shared/openpic/openpic.c:70:2: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
     14 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme3100/../../powerpc/shared/openpic/openpic.c:70:2: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
      7 ../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/console/uart_bus_pci.c:275:6: warning: no previous prototype for 'pci_uart_probe' [-Wmissing-prototypes]
      7 ../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/console/console_select.c:222:6: warning: no previous prototype for 'pc386_parse_console_arguments' [-Wmissing-prototypes]
      6 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c:585:5: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      5 ../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc83xx/gtm/gtm.c:43:22: warning: 'mpc83xx_gmt_interrupt_priority_table' defined but not used [-Wunused-const-variable=]
      4 ../../cpukit/../../../generic_or1k/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert__ASR_Create_mode_set' locally defined but not used [-Wunused-local-typedefs]
      4 ../../cpukit/../../../epiphany_sim/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert__ASR_Create_mode_set' locally defined but not used [-Wunused-local-typedefs]
      3 ../../../../../../../../rtems/c/src/../../testsuites/samples/base_mp/node2/../init.c:31:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../../../rtems/c/src/../../testsuites/samples/base_mp/node2/../apptask.c:35:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../../../rtems/c/src/../../testsuites/samples/base_mp/node1/../init.c:31:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../../../rtems/c/src/../../testsuites/samples/base_mp/node1/../apptask.c:35:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp14/node2/../init.c:31:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp14/node1/../init.c:31:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp07/node2/../task1.c:28:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp07/node1/../task1.c:28:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp06/node2/../task1.c:21:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp06/node1/../task1.c:21:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp05/node2/../task1.c:30:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp05/node1/../task1.c:30:29: warning: no previous prototype for 'Stop_Test_TSR' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp03/node2/../task1.c:16:6: warning: no previous prototype for 'Test_Task_Support' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/../../testsuites/mptests/mp03/node1/../task1.c:16:6: warning: no previous prototype for 'Test_Task_Support' [-Wmissing-prototypes]
      3 ../../../../../../../rtems/c/src/../../testsuites/libtests/termios04/termios_testdriver_intr.h:43:3: warning: excess elements in array initializer
      3 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/gen68360/network/network.c:762:1: warning: no previous prototype for 'scc_txDaemon' [-Wmissing-prototypes]
      3 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/gen68360/network/network.c:350:19: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/pwmout/pwmout.c:26:47: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
      3 ../../../../../../../../rtems/c/src/lib/libbsp/arm/lpc176x/adc/adc.c:22:47: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
      3 ../../../../../rtems/c/src/libchip/shmdr/send.c:51:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      3 ../../../../../rtems/c/src/libchip/shmdr/poll.c:21:29: warning: no previous prototype for 'Shm_Poll_TSR' [-Wmissing-prototypes]
      3 ../../../../../../rtems/c/src/../../cpukit/rtems/src/taskmp.c:176:18: warning: variable 'ignored' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../rtems/c/src/../../cpukit/rtems/src/signalmp.c:116:21: warning: variable 'the_thread' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../rtems/c/src/../../cpukit/rtems/src/semmp.c:162:24: warning: variable 'ignored' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../rtems/c/src/../../cpukit/rtems/src/regionmp.c:169:21: warning: variable 'ignored' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../rtems/c/src/../../cpukit/rtems/src/partmp.c:183:24: warning: variable 'ignored' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../rtems/c/src/../../cpukit/rtems/src/msgmp.c:266:28: warning: variable 'ignored' set but not used [-Wunused-but-set-variable]
      3 ../../../../../../rtems/c/src/../../cpukit/rtems/src/eventmp.c:116:20: warning: variable 'the_thread' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/spw/grspw_pkt.c:269:33: warning: result of '63 << 27' requires 34 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c:93:28: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c:45:12: warning: no previous prototype for 'erc32_sonic_read_register' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c:29:6: warning: no previous prototype for 'erc32_sonic_write_register' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c:956:1: warning: no previous prototype for 'rtems_scc1_driver_attach' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c:772:1: warning: no previous prototype for 'scc_txDaemon' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c:435:20: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c:835:6: warning: no previous prototype for 'fec_txDaemon' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c:652:20: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c:264:5: warning: no previous prototype for 'fec_mdio_write' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c:197:5: warning: no previous prototype for 'fec_mdio_read' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c:1140:5: warning: no previous prototype for 'rtems_fec_driver_attach' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c:1035:5: warning: no previous prototype for 'fec_mode_adapt' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:1179:1: warning: no previous prototype for 'rtems_ne_driver_attach' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme162/../mvme167/network/network.c:680:13: warning: 'uti596_dump_scb' defined but not used [-Wunused-function]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme162/../mvme167/network/network.c:1641:17: warning: variable 'j1' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme162/../mvme167/network/network.c:1074:19: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme162/../mvme167/network/network.c:1005:12: warning: passing argument 1 of 'memset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:644:6: warning: no previous prototype for 'mcf548x_mcdma_tx_irq_handler' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:628:6: warning: no previous prototype for 'mcf548x_mcdma_rx_irq_handler' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:586:6: warning: no previous prototype for 'mcf548x_fec_irq_handler' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:516:6: warning: no previous prototype for 'mcf548x_fec_off' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:360:5: warning: no previous prototype for 'mcf548x_eth_mii_read' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:1497:5: warning: no previous prototype for 'rtems_mcf548x_fec_driver_attach' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:1419:5: warning: no previous prototype for 'mcf548x_fec_mode_adapt' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/network/network.c:1316:9: warning: no previous prototype for 'mcf548x_fec_setMultiFilter' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/irq/irq.c:113:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/genmcf548x/irq/irq.c:104:3: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:738:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:658:5: warning: no previous prototype for 'tsmac_ioctl' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:592:6: warning: no previous prototype for 'tsmac_stats' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:584:6: warning: no previous prototype for 'tsmac_start' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:566:6: warning: no previous prototype for 'tsmac_stop' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:510:6: warning: no previous prototype for 'tsmac_init' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:419:7: warning: variable 'version_id' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:419:26: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:419:19: warning: variable 'phyid' set but not used [-Wunused-but-set-variable]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:416:6: warning: no previous prototype for 'tsmac_init_hardware' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:157:6: warning: no previous prototype for 'tsmacphywrite' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/lm32_evr/../../lm32/shared/tsmac/tsmac.c:142:10: warning: no previous prototype for 'tsmacphyread' [-Wmissing-prototypes]
      2 ../../../../../../../../rtems/c/src/lib/libbsp/arm/raspberrypi/../../shared/gpio.c:328:35: warning: array subscript is outside array bounds [-Warray-bounds]
      2 ../../../../../rtems/c/src/libchip/shmdr/init.c:241:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
      1 ../../../../../../../rtems/c/src/../../testsuites/libtests/termios03/termios_testdriver_polled.h:39:3: warning: excess elements in array initializer
      1 ../../../../../../../rtems/c/src/../../testsuites/libtests/deviceio01/test_driver.h:18:3: warning: excess elements in array initializer
      1 ../../../../../../../rtems/c/src/../../testsuites/libtests/devfs04/test_driver.h:19:3: warning: excess elements in array initializer
      1 ../../../../../../../rtems/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c:551:13: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/sparc/leon2/console/debugputs.c:44:7: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/sparc64/usiii/../shared/clock/ckinit.c:46:13: warning: 'Clock_driver_support_at_tick' defined but not used [-Wunused-function]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/sparc64/niagara/../shared/clock/ckinit.c:46:13: warning: 'Clock_driver_support_at_tick' defined but not used [-Wunused-function]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:98:6: warning: no previous prototype for 'xilTemacFifoRead64' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:879:9: warning: no previous prototype for 'xilTemac_driver_attach' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:83:10: warning: no previous prototype for 'xilTemacTxFifoVacancyBytes' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:754:6: warning: no previous prototype for 'xilTemacRxThreadSingle' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:663:6: warning: no previous prototype for 'xilTemacTxThreadSingle' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:620:6: warning: no previous prototype for 'xilTemacSendPacket' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:549:5: warning: no previous prototype for 'xilTemacIoctl' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:544:9: warning: no previous prototype for 'xilTemacSetMulticastFilter' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:415:6: warning: no previous prototype for 'xilTemacIsrSingle' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c:149:6: warning: no previous prototype for 'xilTemacFifoWrite64' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c:1044:1: warning: no previous prototype for 'rtems_scc_enet_driver_attach' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c:1232:5: warning: no previous prototype for 'rtems_fec_enet_driver_attach' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/psim/network/if_sim.c:119:2: warning: 'out_be32' is static but used in inline function 'ifsim_out' which is not static
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/psim/network/if_sim.c:119:11: warning: passing argument 1 of 'out_be32' from incompatible pointer type [-Wincompatible-pointer-types]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/psim/network/if_sim.c:113:9: warning: 'in_be32' is static but used in inline function 'ifsim_in' which is not static
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/psim/network/if_sim.c:113:18: warning: passing argument 1 of 'in_be32' from incompatible pointer type [-Wincompatible-pointer-types]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:280:5: warning: no previous prototype for 'rtems_i82544EI_driver_attach' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1606:6: warning: no previous prototype for 'i82544EI_printStats' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1162:6: warning: no previous prototype for 'BSP_setRDTR' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1157:6: warning: no previous prototype for 'BSP_setTIDV' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1152:6: warning: no previous prototype for 'BSP_rdRDTR' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_1GHz/if_wm.c:1148:6: warning: no previous prototype for 'BSP_rdTIDV' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:919:5: warning: nested extern declaration of 'MAX' [-Wnested-externs]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:919:30: warning: implicit declaration of function 'MAX' [-Wimplicit-function-declaration]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:906:12: warning: variable 'intrmask' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:685:16: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:532:6: warning: no previous prototype for 'GT64260eth_printStats' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:351:5: warning: no previous prototype for 'rtems_GT64260eth_driver_attach' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c:1246:7: warning: variable 'maybe_hash' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c:892:1: warning: no previous prototype for 'tsec_reset_hw' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c:2453:1: warning: no previous prototype for 'tsec_stop' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c:2096:1: warning: no previous prototype for 'tsec_mdio_wr' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c:877:1: warning: no previous prototype for 'rtems_scc3_driver_attach' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c:700:1: warning: no previous prototype for 'scc_txDaemon' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c:358:20: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.c:97:8: warning: variable 'type' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.c:325:21: warning: variable 'sa' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.c:106:6: warning: variable 'off' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/network/if_smc.c:70:5: warning: no previous prototype for 'rtems_smc91111_driver_attach_mpc5554' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/support/bsp_attach.c:229:1: warning: no previous prototype for 'BSP_availableNetIFs' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c:90:12: warning: no previous prototype for 'rtems_em_attach' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_mve/mv643xx_eth.c:972:14: warning: typedef 'maxbuf' locally defined but not used [-Wunused-local-typedefs]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_mve/mv643xx_eth.c:2135:1: warning: no previous prototype for 'BSP_mve_send_buf_raw' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe.c:2397:6: warning: variable 'maybe_hash' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe.c:1660:1: warning: no previous prototype for 'gfe_assign_desc' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c:98:10: warning: 'em_igp_2_cable_length_table' defined but not used [-Wunused-const-variable=]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c:5834:9: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c:4920:23: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c:398:14: warning: variable 'icr' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c:155:14: warning: variable 'ret_val' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c:1510:9: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em_hw.c:1275:9: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em.c:1355:31: warning: variable 'error' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/mips/rbtx4938/../shared/irq/vectorexceptions.c:27:26: warning: 'cause_strings' defined but not used [-Wunused-const-variable=]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/mips/rbtx4925/../shared/irq/vectorexceptions.c:27:26: warning: 'cause_strings' defined but not used [-Wunused-const-variable=]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/mips/malta/../shared/irq/vectorexceptions.c:27:26: warning: 'cause_strings' defined but not used [-Wunused-const-variable=]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/mips/jmr3904/../shared/irq/vectorexceptions.c:27:26: warning: 'cause_strings' defined but not used [-Wunused-const-variable=]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/mips/hurricane/../shared/irq/vectorexceptions.c:27:26: warning: 'cause_strings' defined but not used [-Wunused-const-variable=]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/mips/csb350/../shared/irq/vectorexceptions.c:27:26: warning: 'cause_strings' defined but not used [-Wunused-const-variable=]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/uC5282/network/network.c:650:1: warning: no previous prototype for 'fec_txDaemon' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/uC5282/network/network.c:393:22: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/uC5282/console/console.c:119:2: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/uC5282/clock/clock.c:148:1: warning: 'Thread' is deprecated [-Wdeprecated-declarations]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme167/network/network.c:680:13: warning: 'uti596_dump_scb' defined but not used [-Wunused-function]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme167/network/network.c:1717:44: warning: passing argument 2 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme167/network/network.c:1074:19: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme167/network/network.c:1005:12: warning: passing argument 1 of 'memset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/mpisr.c:22:11: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mvme147s/shmsupp/getcfg.c:37:19: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mcf5329/network/network.c:576:6: warning: no previous prototype for 'fec_txDaemon' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mcf5329/network/network.c:543:45: warning: passing argument 1 of 'rtems_cache_flush_multiple_data_lines' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mcf5329/network/network.c:331:20: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mcf5235/network/network.c:588:1: warning: no previous prototype for 'fec_txDaemon' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mcf5235/network/network.c:339:22: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/mcf5235/console/console.c:104:2: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/av5282/network/network.c:615:1: warning: no previous prototype for 'fec_txDaemon' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/av5282/network/network.c:355:22: warning: variable 'n' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/m68k/av5282/network/network.c:353:1: warning: no previous prototype for 'fec_retire_tx_bd' [-Wmissing-prototypes]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/lm32/milkymist/../../lm32/shared/milkymist_pfpu/pfpu.c:115:5: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/arm/csb336/network/network.c:509:14: warning: variable 'rsw' set but not used [-Wunused-but-set-variable]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/arm/csb336/network/lan91c11x.c:239:9: warning: iteration 64 invokes undefined behavior [-Waggressive-loop-optimizations]
      1 ../../../../../../../../rtems/c/src/lib/libbsp/arm/csb336/network/lan91c11x.c:148:9: warning: iteration 64 invokes undefined behavior [-Waggressive-loop-optimizations]
      1 ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/epiphany/cpu.c:45:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      1 ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/epiphany/cpu.c:41:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      1 ../../../../../../rtems/c/src/../../cpukit/libstdthreads/thrd.c:99:1: warning: 'noreturn' function does return [enabled by default]
      1 ../../../../../../rtems/c/src/../../cpukit/libfs/src/dosfs/msdos_misc.c:1973:16: warning: 'name_len_for_save' may be used uninitialized in this function [-Wmaybe-uninitialized]
      1 ../../../../../../rtems/c/src/../../cpukit/libfs/src/dosfs/msdos_conv.c:452:48: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
      1 ../../../../../../rtems/c/src/../../cpukit/libblock/src/bdbuf.c:511:15: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized]
      1 ../../cpukit/../../../generic_or1k/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_Wait_flags' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../generic_or1k/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_signals_pending' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../generic_or1k/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_Life_state' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../generic_or1k/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_cancelability_type' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../generic_or1k/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_cancelability_state' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../epiphany_sim/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_Wait_flags' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../epiphany_sim/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_signals_pending' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../epiphany_sim/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_Life_state' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../epiphany_sim/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_cancelability_type' locally defined but not used [-Wunused-local-typedefs]
      1 ../../cpukit/../../../epiphany_sim/lib/include/rtems/score/basedefs.h:202:17: warning: typedef 'rtems_static_assert_cancelability_state' locally defined but not used [-Wunused-local-typedefs]



More information about the devel mailing list