[vlc-devel] [PATCH] There may be macros named "wait".

Måns Rullgård mans at mansr.com
Sat Jul 17 22:27:34 CEST 2010


"Rémi Denis-Courmont" <remi at remlab.net> writes:

> Le samedi 17 juillet 2010 17:34:04 Laurent Aimar, vous avez écrit :
>> Hi,
>> 
>> On Sat, Jul 17, 2010 at 07:50:23PM +0530, Pankaj yadav wrote:
>> > There may be macros named "wait".
>> 
>>  'wait' is used in a way lot more place than simply
>
> As far as I can tell, POSIX reserves the 'wait' identifier. 

Only if the sys/wait.h header is included, and then only as a
function, not a macro.

> I am not sure identifiers reservation applies to structure members.

Sometimes they do.  For example, object-like macros obviously apply to
everything.

-- 
Måns Rullgård
mans at mansr.com




More information about the vlc-devel mailing list