bug-hurd
[Top][All Lists]
Advanced

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

Re: gcc errors


From: Samuel Thibault
Subject: Re: gcc errors
Date: Sun, 1 Oct 2006 19:45:20 +0200
User-agent: Mutt/1.5.12-2006-07-14

Constantine Kousoulos, le Sun 01 Oct 2006 04:10:22 +0300, a écrit :
> a) expression 'extern void cpu_idle(void);' produces the following errors
> 
> error: expected expression before 'void'
> error: expected ')' before '->' token
> error: expected ')' before '==' token

Looks like you already have a cpu_idle() macro somewhere in Mach sources

> 1 static inline void task_lock(struct task_struct *p)
> 2{
> 3    spin_lock(&p->alloc_lock);
> 4}
> 
> the following error messages appear:
> 2: error: expected identifier or '(' before '{' token

Just the same, with task_lock()

> c)
> 1 enum rpc_accept_stat {
> 2    RPC_SUCCESS = 0,
> 3    RPC_PROG_UNAVAIL = 1,
> 4    RPC_PROG_MISMATCH = 2,
> 5    RPC_PROC_UNAVAIL = 3,
> 6    RPC_GARBAGE_ARGS = 4,
> 7    RPC_SYSTEM_ERR = 5
> 8};
> 
> 2: error: expected identifier before numeric constant

Just the same.

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]