Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Compiler supports keyword "__restrict__" instead of keyword "restrict"

Hi All,

The file contains an entry for the keyword "restrict". This keyword is supported by compilers which implement the c99 standard. To use a compiler which does not support the c99 standard, but supports GNU extensions to C, the C programmer has to use the keyword "__restrict__" or "__restrict" to achieve the same functionality.

Currently, we have modified this java file to change the value of the "restrict" keyword to "__restrict__".

Is there any way apart from modifying this file to let CDT know that the compiler supports "__restrict__" rather than "restrict"?


Tensilica India

Back to the top