bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: restrict qualifier and C++.


From: Nikos Mavrogiannopoulos
Subject: Re: restrict qualifier and C++.
Date: Mon, 11 Apr 2011 00:07:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

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

[Prev in Thread] Current Thread [Next in Thread]