bug-gnulib
[Top][All Lists]
Advanced

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

Re: string.h:82: error: expected `,' or `...' before "__dest"


From: Bruno Haible
Subject: Re: string.h:82: error: expected `,' or `...' before "__dest"
Date: Sat, 31 May 2008 23:46:42 +0200
User-agent: KMail/1.5.4

Hi,

Daniel Martin wrote:
> Now, string.h is generated from string_.h and line 82 seems to
> correspond to string.h's line 53:
> 
> extern void *mempcpy (void *restrict __dest, void const *restrict __src,
>                     size_t __n);
> ...
> Another thing which seems to fix this issue is to replace `restrict'
> with `__restrict' as seems to be done in argp.h for instance.

This replacement is supposed to be done in <config.h>.

Does your main file (vec2.cpp) start with 
  #include <config.h>
before all other includes? That's a documented requirement when you're
using gnulib.

Bruno





reply via email to

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