bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Use `AC_C_RESTRICT' in `time'


From: Bruno Haible
Subject: Re: [PATCH] Use `AC_C_RESTRICT' in `time'
Date: Fri, 12 Sep 2008 01:45:07 +0200
User-agent: KMail/1.5.4

Ludovic Courtès wrote:
> The following patch makes sure `time' uses `AC_C_RESTRICT'.

This is redundant, because gl_HEADER_TIME_H requires gl_HEADER_TIME_H_BODY
which requires AC_C_RESTRICT.

> This fixes compilation at least on MinGW as reported here:
> 
>   http://thread.gmane.org/gmane.lisp.guile.bugs/3984

The user's problem can be tracked down as follows:
  - Check that configure contains an expansion of AC_C_RESTRICT.
  - Check that config.h.in contains a section for 'restrict'.
  - Check that config.h contains a definition for 'restrict'. If not,
    check the config.log for explanations.

Maybe the user simply attempted to build the package with a different compiler
than with the one with which the configure script was run? This is not 
supported.

Or maybe some subdirectories are built with "gcc" and others with "gcc 
-std=gnu99"
or similar?

Bruno





reply via email to

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