pipe icon indicating copy to clipboard operation
pipe copied to clipboard

Windows Compile

Open sunnsurf opened this issue 8 years ago • 2 comments

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?

sunnsurf avatar Mar 07 '17 22:03 sunnsurf

I'd accept a patch that conditionally replaces restrict for VS2015

#if (something to detect VS2015)
  #define restrict __restrict__
#endif

or something like that

cgaebel avatar Mar 08 '17 01:03 cgaebel

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

joshring avatar Mar 15 '17 00:03 joshring