On 04/10/2011 11:54 PM, Paul Eggert wrote:
> On 04/10/2011 12:53 AM, Nikos Mavrogiannopoulos wrote:
>> Attached is a patch that fixes the time.h compilation under C++.
> 
> This shouldn't be needed, since gl_HEADER_TIME_H requires
> gl_HEADER_TIME_H_BODY, which requires AC_C_RESTRICT, which
> is supposed to arrange for 'restrict' to be #define'd to
> nothing if your compiler doesn't work with 'restrict'.
> Could you please give more details about the problem, and
> explain why the above didn't work?

As I understand it AC_C_RESTRICT checks whether restrict
is supported by the C compiler. I'm using the C++ compiler.
(in gnutls, that has C and C++ components).

regards,
Nikos


Reply via email to