When compiling the current GIMP code under CentOS7 with GCC 6.4.0, I get some 
compilation errors that are due the plug-ins/file-dds/endian.h header file.
This file interferes with the system-wide endian.h header. The error can be 
fixed by renaming the file in the DDS plug-in to something like "dds-endian.h"

The compilation errors are the following:

In file included from /usr/include/stdlib.h:42:0,
                 from ddsread.c:34:
/usr/include/bits/waitstatus.h:79:15: error: duplicate member '__w_retcode'
  unsigned int __w_retcode:8;
               ^~~~~~~~~~~
/usr/include/bits/waitstatus.h:80:15: error: duplicate member '__w_coredump'
  unsigned int __w_coredump:1;
               ^~~~~~~~~~~~
/usr/include/bits/waitstatus.h:81:15: error: duplicate member '__w_termsig'
  unsigned int __w_termsig:7;
               ^~~~~~~~~~~
/usr/include/bits/waitstatus.h:93:15: error: duplicate member '__w_stopsig'
  unsigned int __w_stopsig:8; /* Stopping signal.  */
               ^~~~~~~~~~~
/usr/include/bits/waitstatus.h:94:15: error: duplicate member '__w_stopval'
  unsigned int __w_stopval:8; /* W_STOPPED if stopped.  */
               ^~~~~~~~~~~

Regards,
Andrea
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list

Reply via email to