On 04/11/2011 12:56 AM, Paul Eggert wrote:
> On 04/10/2011 03:07 PM, Nikos Mavrogiannopoulos wrote:
>> As I understand it AC_C_RESTRICT checks whether restrict
>> is supported by the C compiler. I'm using the C++ compiler.
>
> In that case, AC_C_RESTRICT should report that your C++
> compiler does
Nikos Mavrogiannopoulos wrote:
> I'm using the C++ compiler.
> (in gnutls, that has C and C++ components).
Please, when reporting a bug, _always_ provide a "How to reproduce" recipe.
In particular, you missed two occasions to tell which C compiler and which
C++ compiler you are using.
Paul Eggert
On 04/10/2011 03:07 PM, Nikos Mavrogiannopoulos wrote:
> As I understand it AC_C_RESTRICT checks whether restrict
> is supported by the C compiler. I'm using the C++ compiler.
In that case, AC_C_RESTRICT should report that your C++
compiler does not support 'restrict' when compiling C code.
What g
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 su
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
no