bug-gnulib
[Top][All Lists]
Advanced

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

Re: restrict qualifier and C++.


From: Paul Eggert
Subject: Re: restrict qualifier and C++.
Date: Sun, 10 Apr 2011 14:54:15 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

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?



reply via email to

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