2017-11-15 15:49 GMT+01:00 Jiří Zárevúcky <[email protected]>:
> On Nov 15, 2017 15:20, "Ondřej Hlavatý" <[email protected]> wrote:
>> strictly speaking, couldn't you define "restrict" a macro in the same
>> way then? ;)
> You couldn't. "restrict" is a legal identifier in C89, and existing code can
> use it e.g. as a regular variable/function name. Identifiers starting with
> two underscores are reserved, so the same problem doesn't apply for
> __restrict__.
Makes sense, thanks! Should be probably stated in the commit message ;-)

Out of curiosity, which C89-only code is being compiled against libposix?

Cheers,
- Vojtech

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to