Sam Steingold wrote:
> I am getting this error:
> 
> In file included from /home/sds/src/clisp/current/build-g/gllib/sys/stat.h:44,
>                  from clisp.c:31:
> /home/sds/src/clisp/current/build-g/gllib/time.h:469: error: expected ';', 
> ',' or ')' before '__timer'
> /home/sds/src/clisp/current/build-g/gllib/time.h:491: error: expected ';', 
> ',' or ')' before '__timer'
> 
> time.h:469:_GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const 
> *restrict __timer,
>                                              struct tm *restrict __result)
>                                             _GL_ARG_NONNULL ((1, 2)));
> 
> it appears that time_t is not defined.

More likely, 'restrict' is not defined, or is defined to an unsupported value.
Cf. [1][2]

With gnulib, 'restrict' ought to be defined by config.h. Maybe you have several
config.h files, and one of them defines 'restrict' but not the others? Or maybe
the compilation unit that you are compiling does not start with
"#include <config.h>"?

Bruno

[1] http://lists.gnu.org/archive/html/grub-devel/2010-12/msg00016.html
[2] http://lists.gnu.org/archive/html/bug-gnulib/2008-05/msg00222.html
-- 
In memoriam The victims of the Zaklopača massacre 
<http://greatersurbiton.wordpress.com/2010/02/12/interview-with-nihada-hodzic-survivor-of-the-zaklopaca-massacre/>

Reply via email to