Closed sezero closed 4 years ago
Thanks!
Does Watcom not support restrict in C++ mode by the way? That may slightly hurt performance of lodepng_memcpy (since with restrict added, a compiler can turn the for loop directly into a memcpy call). I know restrict isn't part of the C++ standard (only C), but most compilers have a way to support it anyway (maybe some alternative keyword?)
Does Watcom not support restrict in C++ mode by the way?
Unfortunately not, not at the moment. (See the link above.)
see https://github.com/open-watcom/open-watcom-v2/issues/551