This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Parse error
- From: "frostflare" <frostflare at bol dot com dot br>
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 4 Aug 2004 15:52:48 -0300
- Subject: Parse error
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/