On 09/20/2010 10:18 PM, Danny Robson wrote: > On Mon, 20 Sep 2010 21:18:08 -0700 > Patrick Horgan<phorg...@gmail.com> wrote: > > >> The line that fails first (gegl-sampler-linear.c:65 is: >> static void gegl_sampler_linear_get (GeglSampler* restrict self, >> const gdouble x, >> const gdouble y, >> void* restrict output); >> and it seems that gcc is not recognizing the restrict keyword. Does >> anyone have a clue of how I can resolve it? >> > configure should be defining an appropriate representation for restrict > (through the use of AC_C_RESTRICT in configure.ac). > > Can you confirm that config.h contains an appropriately generated > define for restrict? Perhaps you need to rerun autogen.sh to rebuild > configure? > You were right. It was not defined in config.h and running autogen.sh fixed the problem. Thank you, Danny.
Patrick _______________________________________________ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer