../../SharedFiles/spiInterface.c:838: error: static declaration of '__vector_5' follows non-static d

Gast #3664659
Lesenswert?
• ▲
▼
Hello to those who know better,

by compiling a .c File i get the message
../../SharedFiles/spiInterface.c: In function '__vector_17':
../../SharedFiles/spiInterface.c:838: error: static declaration of 
'__vector_5' follows non-static declaration


Of course i tried to Google it, but the hits i get aren´t helping me.
The joke is, the message is coming from a file which is shared by two 
Projects. One Project is compilable, the other isn´t. Both are compiled 
with the same comiler.

It´s Code for a Mega32A. What i don´t understand are the vector numbers. 
__vector17 is ADC conversion done INT, and __vector5 is TIMER2_COMP INT, 
but by clicking the message i´m forwarded to the SPI Complete INT.

can anyone solve this puzzle?

PS.: sorry i don´t post code, since it´s a Company Thing...

Antwort schreiben

Eine eigene Frage? Dieser Thread ist über 12 Jahre alt. Stell sie in einem eigenen Thread – dort lesen mehr Leute mit, und sie wird öfter und schneller beantwortet.

Neuen Thread starten

Eine Lösung, Ergänzung oder Rückmeldung zu diesem Thread? Dann antworte hier.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.