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
