pipe
pipe copied to clipboard
Windows Compile
Without the restrict keywords, the code seems to compile and run ok using Visual Studio 2015. How critical is the use of the restrict keyword?
I'd accept a patch that conditionally replaces restrict for VS2015
#if (something to detect VS2015)
#define restrict __restrict__
#endif
or something like that
Sounds with visual C++ has the restrict but it appears differently as:
__restrict and __declspec(restrict)
source: https://en.wikipedia.org/wiki/Restrict https://msdn.microsoft.com/en-us/library/5ft82fed.aspx