[CMake] AC_C_RESTRICT

Mateusz Loskot mateusz at loskot.net
Fri Jan 4 09:24:19 EST 2013


On 4 January 2013 14:12, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> On 1/4/2013 6:50 AM, Kornel Benko wrote:
>>
>> Hi, I am searching for something appropriate to the
>>
>> autoconf AC_C_RESTRICT macro.
>>
>> Kornel
>>
> What does it do?

Bill,

It tests if C compiler supports C99 restrict keyword,
perhaps also implementation-specific form, e.g. __restrict, etc.

[1] http://en.wikipedia.org/wiki/Restrict

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net


More information about the CMake mailing list