Expected expression error due to parameter name and Glib
When building GIMP_2_10_18 from source, I'm receiving the following errors:
gimpadaptivesupersample.c:279:31: error: expected expression before ‘GimpSampleType’ top_row = gegl_scratch_new (GimpSampleType, sub_pixel_size * width + 1);
gimpadaptivesupersample.c:280:31: error: expected expression before ‘GimpSampleType’ bot_row = gegl_scratch_new (GimpSampleType, sub_pixel_size * width + 1);
gimpadaptivesupersample.c:295:29: error: expected expression before ‘GimpSampleType’ block = gegl_scratch_new (GimpSampleType *, sub_pixel_size + 1); /* Rows */
gimpadaptivesupersample.c:299:36: error: expected expression before ‘GimpSampleType’ block[y] = gegl_scratch_new (GimpSampleType, sub_pixel_size + 1); /* Columns */
System Info:
- Ubuntu 18.04
- cmake version
3.16.5
- gcc/g++ version
8.3.0
- make version
4.3
May I receive some guidance on this?
Thank you.