[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: pcc =?UTF-8?B?ZG9lc27igJl0IGJvb3RzdHJhcCBhbnkgbW9yZSwgYWdhaW4=?=
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2008-06-21 20:32:35
Message-ID: 485D6563.2000503 () ludd ! ltu ! se
[Download RAW message or body]

Thorsten Glaser wrote:
> Anders Magnusson dixit:
>
>   
>> -Wshadow added recently.
>> Your fault, you cannot have the same name on two parameters.
>>     
>
> Okay. I suggest something like:
>
> #ifdef __PCC__
> #define __restrict__	/* nothing */
> #endif
>
> in <sys/cdefs.h>, like done with lint. Opinions?
>
>   
I would suggest:

#ifdef __PCC__
#define __restrict__	restrict
#endif


since pcc understands restrict keyword.

-- Ragge
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic