The C89 standard doesn't have inline. You'd get inline with -std=gnu89 though.
The CUPS headers also seem be incompatible with the new GCC: https://build.opensuse.org/package/live_build_log/KDE:KDE3/kdelibs3/openSUSE... I wonder, should I specify the older C standard in the compiler options or the headers are going to be fixed? [ 400s] In file included from /usr/include/cups/cups.h:34:0, [ 400s] from ./kdeprint/cups/cupsdconf2/cupsdconf.cpp:30, [ 400s] from ./kdeprint/cups/cupsdconf2/libkdeinit_cupsdconf_la_all_cpp.cpp:3: [ 400s] /usr/include/cups/ipp.h:674:16: error: forward declaration of 'ipp_attribute_t {aka struct _ipp_attribute_s}' [ 400s] typedef struct _ipp_attribute_s ipp_attribute_t; [ 400s] ^ [ 400s] In file included from ./kdeprint/cups/cupsdconf2/libkdeinit_cupsdconf_la_all_cpp.cpp:3:0: [ 400s] ./kdeprint/cups/cupsdconf2/cupsdconf.cpp:650:65: error: invalid use of incomplete type 'ipp_attribute_t {aka struct _ipp_attribute_s}' [ 400s] else if (strcmp(attr->name, "printer-type") == 0) type = attr->values[0].integer; [ 400s] ^ [ 400s] In file included from /usr/include/cups/cups.h:34:0, [ 400s] from ./kdeprint/cups/cupsdconf2/cupsdconf.cpp:30, [ 400s] from ./kdeprint/cups/cupsdconf2/libkdeinit_cupsdconf_la_all_cpp.cpp:3: [ 400s] /usr/include/cups/ipp.h:674:16: error: forward declaration of 'ipp_attribute_t {aka struct _ipp_attribute_s}' [ 400s] typedef struct _ipp_attribute_s ipp_attribute_t; [ 400s] ^ [ 400s] In file included from ./kdeprint/cups/cupsdconf2/libkdeinit_cupsdconf_la_all_cpp.cpp:3:0: [ 400s] ./kdeprint/cups/cupsdconf2/cupsdconf.cpp:651:15: error: invalid use of incomplete type 'ipp_attribute_t {aka struct _ipp_attribute_s}' -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org