Paul Eggert wrote: > Would it suffice to append this to config.h? I don't have easy access > to Sun C 5.0 any more (it's pretty old).
The same issue also holds with the Sun Studio 11 compiler (in /opt/SUNWspro/SunStudio11/SUNWspro/bin). > /* Work around a bug in Sun C++: it does not support _Restrict, even > though the corresponding Sun C compiler does. Perhaps some future > version of Sun C++ will work with _Restrict; if so, it'll probably > define __RESTRICT, just as Sun C does. */ > #if defined __SUNPRO_CC && !defined __RESTRICT > # define _Restrict > #endif Yes, this works around the issue. Thanks! Bruno
