George and I talked more off-list / phone and he convinced me that
it's ok to do this in a top-level header file:
#if defined(c_plusplus) || defined(__cplusplus)
I'll post to the Autoconf list about this soon.
On Mar 16, 2009, at 4:43 AM, Samuel Sarholz wrote:
> I am pretty sure that C++ has no restrict keyword (only C99), so IMHO
> it's not the compilers fault is not compiling.
> You probably want to turn restricts off for C++ by default, unless you
> know the compiler supports it.
> best regards,
> users mailing list