[Top][All Lists]
[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
- restrict qualifier and C++., Nikos Mavrogiannopoulos, 2011/04/10
- Re: restrict qualifier and C++., Paul Eggert, 2011/04/10
- Re: restrict qualifier and C++.,
Nikos Mavrogiannopoulos <=
- Re: restrict qualifier and C++., Paul Eggert, 2011/04/10
- Re: restrict qualifier and C++., Bruno Haible, 2011/04/10
- Re: restrict qualifier and C++., Nikos Mavrogiannopoulos, 2011/04/11
- memxor [was: restrict qualifier and C++.], Eric Blake, 2011/04/11
- Re: memxor, Bruno Haible, 2011/04/11
- Re: memxor, Nikos Mavrogiannopoulos, 2011/04/12
- Re: memxor, Bruno Haible, 2011/04/12
- Re: memxor, Simon Josefsson, 2011/04/12
- Re: memxor, Nikos Mavrogiannopoulos, 2011/04/12
- Re: memxor, Simon Josefsson, 2011/04/12