Parse error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using arm-elf-gcc to com´pile a C program, but it 
show this error:

Decl_SON.h:46: error: parse error before "IRQHandler"


And this is the lib Decl_SON.h that hhas the error:



typedef struct {


    void (*TStart)(void);   
    void *TStackLimit;      
    unsigned long TStackPointer;



    char TName[10];         
    unsigned long TStackSize;
    unsigned short TSuspTics;
} tcbstruc;



extern unsigned long TIC;  
extern volatile unsigned long MainCounter;

extern unsigned EXECUTIC;     
extern volatile unsigned PROTECT; 
extern volatile int CurrentTask;  
extern unsigned MainTask;

extern tcbstruc TCB[];               
extern tcbstruc* CurrentTaskPointer;


void __irq IRQHandler(void);
void SaveAndRestore(tcbstruc* SaveTask,tcbstruc* 
RestoreTask);
void InitialiseContext(tcbstruc* tcb);

void InitialiseTasks(void);
void Suspend(unsigned SuspTics, unsigned long 
StartTic);
void GPISR(void);


Can somebody help me with this?

Thankyou 

Wellington
Brazil
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux