"Ronald S. Bultje" <[email protected]> writes:

> From: "Ronald S. Bultje" <[email protected]>
>
> Defining restrict results - for some compilers - in changing other
> uses of the restrict keyword also, e.g. __declspec(restrict) gets
> changed to __declspec(__restrict) on MSVC. This causes compilation
> failures. Therefore, using a private namespace macro instead is
> more reliable and robust.

NAK.  restrict is a C99 keyword, and we use C99 features all over the
place.  Whatever preprocessor is used to handle, for instance,
designated initialisers can just as easily handle these keywords.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to