[En-Nut-Discussion] Warnings on ethernut 3.9.9 with iccavr
Thiago A. Corrêa
thiago.correa at gmail.com
Wed Dec 7 19:05:17 CET 2005
Hi,
I´ve got quite some warnings compiling ethernut 3.9.9 here. The
functions are declared with static but later then implemented without
the "static" keyword. I´m not sure yet if one should remove the static
from declaration or add static to implementation.
I guess it won´t be a problem at all, but I thought you might want to know :)
The warnings are:
W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect01.c(99):[warning]
inconsistent linkage for `AvrInterrupt0Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect01.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect02.c(99):[warning]
inconsistent linkage for `AvrInterrupt1Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect02.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect03.c(99):[warning]
inconsistent linkage for `AvrInterrupt2Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect03.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect04.c(99):[warning]
inconsistent linkage for `AvrInterrupt3Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect04.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect05.c(99):[warning]
inconsistent linkage for `AvrInterrupt4Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect05.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect06.c(99):[warning]
inconsistent linkage for `AvrInterrupt5Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect06.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect07.c(99):[warning]
inconsistent linkage for `AvrInterrupt6Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect07.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect08.c(99):[warning]
inconsistent linkage for `AvrInterrupt7Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect08.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect09.c(94):[warning]
inconsistent linkage for `AvrTimer2CompIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect09.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect10.c(94):[warning]
inconsistent linkage for `AvrTimer2OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect10.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect11.c(94):[warning]
inconsistent linkage for `AvrTimer1CaptIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect11.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect12.c(94):[warning]
inconsistent linkage for `AvrTimer1CompAIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect12.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect13.c(94):[warning]
inconsistent linkage for `AvrTimer1CompBIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect13.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect14.c(94):[warning]
inconsistent linkage for `AvrTimer1OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect14.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect15.c(94):[warning]
inconsistent linkage for `AvrTimer0CompIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect15.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect16.c(94):[warning]
inconsistent linkage for `AvrTimer0OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect16.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect17.c(94):[warning]
inconsistent linkage for `AvrSpiIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect17.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect18.c(100):[warning]
inconsistent linkage for `AvrUart0TxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect18.c(73)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect19.c(100):[warning]
inconsistent linkage for `AvrUart0TxDataIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect19.c(73)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect20.c(100):[warning]
inconsistent linkage for `AvrUart0RxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect20.c(73)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect21.c(97):[warning]
inconsistent linkage for `AvrAdcIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect21.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect22.c(95):[warning]
inconsistent linkage for `AvrEepromRdyIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect22.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect23.c(97):[warning]
inconsistent linkage for `AvrAnalogCompIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect23.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect24.c(99):[warning]
inconsistent linkage for `AvrTimer1CompCIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect24.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect25.c(101):[warning]
inconsistent linkage for `AvrTimer3InCaptIrqCtl' previously declared
at C:/ethernut-3.9.9/nut/arch/avr/dev/ivect25.c(75)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect26.c(99):[warning]
inconsistent linkage for `AvrTimer3CompAIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect26.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect27.c(99):[warning]
inconsistent linkage for `AvrTimer3CompBIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect27.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect28.c(99):[warning]
inconsistent linkage for `AvrTimer3CompCIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect28.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect29.c(99):[warning]
inconsistent linkage for `AvrTimer3OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect29.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect30.c(99):[warning]
inconsistent linkage for `AvrUart1RxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect30.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect31.c(99):[warning]
inconsistent linkage for `AvrUart1TxDataIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect31.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect32.c(99):[warning]
inconsistent linkage for `AvrUart1TxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect32.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect33.c(99):[warning]
inconsistent linkage for `AvrTwiIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect33.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect34.c(97):[warning]
inconsistent linkage for `AvrSpmRdyIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect34.c(72)
16:01:08: ----- 'make all' terminated successfully -----
16:01:08: ----- Running 'make install' -----
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect01.c(99):[warning]
inconsistent linkage for `AvrInterrupt0Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect01.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect02.c(99):[warning]
inconsistent linkage for `AvrInterrupt1Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect02.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect03.c(99):[warning]
inconsistent linkage for `AvrInterrupt2Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect03.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect04.c(99):[warning]
inconsistent linkage for `AvrInterrupt3Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect04.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect05.c(99):[warning]
inconsistent linkage for `AvrInterrupt4Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect05.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect06.c(99):[warning]
inconsistent linkage for `AvrInterrupt5Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect06.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect07.c(99):[warning]
inconsistent linkage for `AvrInterrupt6Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect07.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect08.c(99):[warning]
inconsistent linkage for `AvrInterrupt7Ctl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect08.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect09.c(94):[warning]
inconsistent linkage for `AvrTimer2CompIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect09.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect10.c(94):[warning]
inconsistent linkage for `AvrTimer2OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect10.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect11.c(94):[warning]
inconsistent linkage for `AvrTimer1CaptIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect11.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect12.c(94):[warning]
inconsistent linkage for `AvrTimer1CompAIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect12.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect13.c(94):[warning]
inconsistent linkage for `AvrTimer1CompBIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect13.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect14.c(94):[warning]
inconsistent linkage for `AvrTimer1OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect14.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect15.c(94):[warning]
inconsistent linkage for `AvrTimer0CompIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect15.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect16.c(94):[warning]
inconsistent linkage for `AvrTimer0OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect16.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect17.c(94):[warning]
inconsistent linkage for `AvrSpiIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect17.c(67)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect18.c(100):[warning]
inconsistent linkage for `AvrUart0TxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect18.c(73)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect19.c(100):[warning]
inconsistent linkage for `AvrUart0TxDataIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect19.c(73)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect20.c(100):[warning]
inconsistent linkage for `AvrUart0RxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect20.c(73)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect21.c(97):[warning]
inconsistent linkage for `AvrAdcIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect21.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect22.c(95):[warning]
inconsistent linkage for `AvrEepromRdyIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect22.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect23.c(97):[warning]
inconsistent linkage for `AvrAnalogCompIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect23.c(70)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect24.c(99):[warning]
inconsistent linkage for `AvrTimer1CompCIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect24.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect25.c(101):[warning]
inconsistent linkage for `AvrTimer3InCaptIrqCtl' previously declared
at C:/ethernut-3.9.9/nut/arch/avr/dev/ivect25.c(75)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect26.c(99):[warning]
inconsistent linkage for `AvrTimer3CompAIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect26.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect27.c(99):[warning]
inconsistent linkage for `AvrTimer3CompBIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect27.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect28.c(99):[warning]
inconsistent linkage for `AvrTimer3CompCIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect28.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect29.c(99):[warning]
inconsistent linkage for `AvrTimer3OvfIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect29.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect30.c(99):[warning]
inconsistent linkage for `AvrUart1RxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect30.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect31.c(99):[warning]
inconsistent linkage for `AvrUart1TxDataIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect31.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect32.c(99):[warning]
inconsistent linkage for `AvrUart1TxIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect32.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect33.c(99):[warning]
inconsistent linkage for `AvrTwiIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect33.c(72)
!W C:/ethernut-3.9.9/nut/arch/avr/dev/ivect34.c(97):[warning]
inconsistent linkage for `AvrSpmRdyIrqCtl' previously declared at
C:/ethernut-3.9.9/nut/arch/avr/dev/ivect34.c(72)
More information about the En-Nut-Discussion
mailing list