4 ms·
Just looked it up... looks like you're right. The whole blog post is nonsense.
by setjmp 18y ago
Just looked it up... looks like you're right. The whole blog post is nonsense.
- habibur 18y agoJust asking, does currently available compilers support restrict? (or C99 standards)? I use msvc mostly and gcc sometimes.
- AlisdairO 18y agogcc certainly does (use -std=c99). If you don't want to use C99, use __restrict__ to use it as a gcc extension. This is C-specific - I don't believe a similar standard has worked its way into C++ yet, although compilers may have extensions that support it. I don't know about msvc, I'm afraid. GCC's C99 implementation is mostly complete - you can find out more here: http://gcc.gnu.org/c99status.html http://gcc.gnu.org/c99status.html