[Debichem-devel] Bug#1066984: gabedit: FTBFS: Preferences.c:2254:23: error: implicit declaration of function ‘selectionOfDir’; did you mean ‘selctionOfDir’? [-Werror=implicit-function-declaration]

Sebastian Ramacher sramacher at debian.org
Sat Mar 16 14:48:22 GMT 2024


Source: gabedit
Version: 2.5.1+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=gabedit&arch=amd64&ver=2.5.1%2Bds-1%2Bb3&stamp=1710520087&raw=0

gcc -fno-common -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DENABLE_DEPRECATED -fcommon -DENABLE_OMP -fopenmp -DDRAWGEOMGL -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/x86_64-linux-gnu/gtkglext-1.0/include -pthread  GInterfaceMethodeBase.c -o GInterfaceMethodeBase.o
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from Preferences.c:27:
../Utils/UtilsInterface.h:124:13: warning: Deprecated pre-processor symbol: replace with "const"
  124 | GtkWidget *add_label_table(GtkWidget *Table, G_CONST_RETURN gchar *label,gushort line,gushort colonne);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/UtilsInterface.h:129:13: warning: Deprecated pre-processor symbol: replace with "const"
  129 | void set_last_directory(G_CONST_RETURN gchar* FileName);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
In file included from Preferences.c:29:
../Utils/Utils.h:63:13: warning: Deprecated pre-processor symbol: replace with "const"
   63 | G_CONST_RETURN gchar *get_local_user();
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~                              
../Utils/Utils.h:75:13: warning: Deprecated pre-processor symbol: replace with "const"
   75 | gchar *get_dir_file_name(G_CONST_RETURN gchar* dirname, G_CONST_RETURN gchar* filename);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:75:13: warning: Deprecated pre-processor symbol: replace with "const"
../Utils/Utils.h:150:13: warning: Deprecated pre-processor symbol: replace with "const"
  150 | void gabedit_string_get_pixel_size(GtkWidget* parent, PangoFontDescription *font_desc, G_CONST_RETURN gchar* t, int *width, int* height);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:151:13: warning: Deprecated pre-processor symbol: replace with "const"
  151 | void gabedit_draw_string(GtkWidget* parent, GdkPixmap* pixmap, PangoFontDescription *font_desc, GdkGC* gc , gint x, gint y, G_CONST_RETURN gchar* t, gboolean centerX, gboolean centerY);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:153:13: warning: Deprecated pre-processor symbol: replace with "const"
  153 | G_CONST_RETURN gchar* get_open_babel_command();
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
../Utils/Utils.h:162:13: warning: Deprecated pre-processor symbol: replace with "const"
  162 | gchar * mystrcasestr(G_CONST_RETURN gchar *haystack, G_CONST_RETURN gchar *needle);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:162:13: warning: Deprecated pre-processor symbol: replace with "const"
Preferences.c: In function ‘remove_gamess_command’:
Preferences.c:140:13: warning: Deprecated pre-processor symbol: replace with "const"
  140 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_gamess_command’:
Preferences.c:187:13: warning: Deprecated pre-processor symbol: replace with "const"
  187 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_gaussian_command’:
Preferences.c:222:13: warning: Deprecated pre-processor symbol: replace with "const"
  222 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_gaussian_command’:
Preferences.c:269:13: warning: Deprecated pre-processor symbol: replace with "const"
  269 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_molcas_command’:
Preferences.c:304:13: warning: Deprecated pre-processor symbol: replace with "const"
  304 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_molcas_command’:
Preferences.c:353:13: warning: Deprecated pre-processor symbol: replace with "const"
  353 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_mpqc_command’:
Preferences.c:390:13: warning: Deprecated pre-processor symbol: replace with "const"
  390 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_mpqc_command’:
Preferences.c:439:13: warning: Deprecated pre-processor symbol: replace with "const"
  439 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_molpro_command’:
Preferences.c:476:13: warning: Deprecated pre-processor symbol: replace with "const"
  476 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_molpro_command’:
Preferences.c:525:13: warning: Deprecated pre-processor symbol: replace with "const"
  525 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_demon_command’:
Preferences.c:562:13: warning: Deprecated pre-processor symbol: replace with "const"
  562 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_demon_command’:
Preferences.c:611:13: warning: Deprecated pre-processor symbol: replace with "const"
  611 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_firefly_command’:
Preferences.c:649:13: warning: Deprecated pre-processor symbol: replace with "const"
  649 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_firefly_command’:
Preferences.c:696:13: warning: Deprecated pre-processor symbol: replace with "const"
  696 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_mopac_command’:
Preferences.c:731:13: warning: Deprecated pre-processor symbol: replace with "const"
  731 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_mopac_command’:
Preferences.c:780:13: warning: Deprecated pre-processor symbol: replace with "const"
  780 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_qchem_command’:
Preferences.c:817:13: warning: Deprecated pre-processor symbol: replace with "const"
  817 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_qchem_command’:
Preferences.c:866:13: warning: Deprecated pre-processor symbol: replace with "const"
  866 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_orca_command’:
Preferences.c:903:13: warning: Deprecated pre-processor symbol: replace with "const"
  903 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_orca_command’:
Preferences.c:952:13: warning: Deprecated pre-processor symbol: replace with "const"
  952 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_nwchem_command’:
Preferences.c:989:13: warning: Deprecated pre-processor symbol: replace with "const"
  989 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_nwchem_command’:
Preferences.c:1038:13: warning: Deprecated pre-processor symbol: replace with "const"
 1038 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_psicode_command’:
Preferences.c:1075:13: warning: Deprecated pre-processor symbol: replace with "const"
 1075 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_psicode_command’:
Preferences.c:1124:13: warning: Deprecated pre-processor symbol: replace with "const"
 1124 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘remove_povray_command’:
Preferences.c:1161:13: warning: Deprecated pre-processor symbol: replace with "const"
 1161 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_povray_command’:
Preferences.c:1210:13: warning: Deprecated pre-processor symbol: replace with "const"
 1210 |   G_CONST_RETURN gchar *strcom;
      |             ^~~~~~~~~~~~~~~~~~~                                      
Preferences.c: In function ‘modify_batch_command’:
Preferences.c:1694:18: warning: Deprecated pre-processor symbol: replace with "const"
 1694 |         G_CONST_RETURN gchar*     textType  =  gtk_entry_get_text (GTK_ENTRY (entryType));
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Preferences.c:1695:18: warning: Deprecated pre-processor symbol: replace with "const"
 1695 |         G_CONST_RETURN gchar*     textEntry  =  gtk_entry_get_text (GTK_ENTRY (Entry));
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Preferences.c: In function ‘modify_batch_entrys’:
Preferences.c:1762:13: warning: Deprecated pre-processor symbol: replace with "const"
 1762 |   G_CONST_RETURN gchar*     textType  =  gtk_entry_get_text (GTK_ENTRY (Entry));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Preferences.c: In function ‘set_entry_openbabelDir_selection’:
Preferences.c:2254:23: error: implicit declaration of function ‘selectionOfDir’; did you mean ‘selctionOfDir’? [-Werror=implicit-function-declaration]
 2254 |         dirSelector = selectionOfDir(set_entry_openbabeldir, _("Select PovRay folder"), GABEDIT_TYPEWIN_ORB);
      |                       ^~~~~~~~~~~~~~
      |                       selctionOfDir
Preferences.c:2254:21: warning: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 2254 |         dirSelector = selectionOfDir(set_entry_openbabeldir, _("Select PovRay folder"), GABEDIT_TYPEWIN_ORB);
      |                     ^
Preferences.c: In function ‘setNumberOfSubdivisions’:
Preferences.c:3488:20: warning: Deprecated pre-processor symbol: replace with "const"
 3488 |         G_CONST_RETURN gchar* textEntry = gtk_entry_get_text(GTK_ENTRY(Entry));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ../Common/Global.h:25,
                 from GInterfaceMethodeBase.c:26:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
  723 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from GInterfaceMethodeBase.c:27:
../Utils/Utils.h:63:13: warning: Deprecated pre-processor symbol: replace with "const"
   63 | G_CONST_RETURN gchar *get_local_user();
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~                              
../Utils/Utils.h:75:13: warning: Deprecated pre-processor symbol: replace with "const"
   75 | gchar *get_dir_file_name(G_CONST_RETURN gchar* dirname, G_CONST_RETURN gchar* filename);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:75:13: warning: Deprecated pre-processor symbol: replace with "const"
../Utils/Utils.h:150:13: warning: Deprecated pre-processor symbol: replace with "const"
  150 | void gabedit_string_get_pixel_size(GtkWidget* parent, PangoFontDescription *font_desc, G_CONST_RETURN gchar* t, int *width, int* height);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:151:13: warning: Deprecated pre-processor symbol: replace with "const"
  151 | void gabedit_draw_string(GtkWidget* parent, GdkPixmap* pixmap, PangoFontDescription *font_desc, GdkGC* gc , gint x, gint y, G_CONST_RETURN gchar* t, gboolean centerX, gboolean centerY);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:153:13: warning: Deprecated pre-processor symbol: replace with "const"
  153 | G_CONST_RETURN gchar* get_open_babel_command();
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
../Utils/Utils.h:162:13: warning: Deprecated pre-processor symbol: replace with "const"
  162 | gchar * mystrcasestr(G_CONST_RETURN gchar *haystack, G_CONST_RETURN gchar *needle);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:162:13: warning: Deprecated pre-processor symbol: replace with "const"
In file included from GInterfaceMethodeBase.c:28:
../Utils/UtilsInterface.h:124:13: warning: Deprecated pre-processor symbol: replace with "const"
  124 | GtkWidget *add_label_table(GtkWidget *Table, G_CONST_RETURN gchar *label,gushort line,gushort colonne);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/UtilsInterface.h:129:13: warning: Deprecated pre-processor symbol: replace with "const"
  129 | void set_last_directory(G_CONST_RETURN gchar* FileName);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
In file included from GInterfaceMethodeBase.c:30:
../Geometry/GeomXYZ.h:29:13: warning: Deprecated pre-processor symbol: replace with "const"
   29 | void read_XYZ_file_no_add_list(G_CONST_RETURN  gchar *);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
gcc -fno-common -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DENABLE_DEPRECATED -fcommon -DENABLE_OMP -fopenmp -DDRAWGEOMGL -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/x86_64-linux-gnu/gtkglext-1.0/include -pthread  GabeditFolderChooser.c -o GabeditFolderChooser.o
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from GabeditFolderChooser.c:20:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
  723 | {
      | ^
gcc -fno-common -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DENABLE_DEPRECATED -fcommon -DENABLE_OMP -fopenmp -DDRAWGEOMGL -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/x86_64-linux-gnu/gtkglext-1.0/include -pthread  GInterfaceRoute.c -o GInterfaceRoute.o
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -fno-common -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DENABLE_DEPRECATED -fcommon -DENABLE_OMP -fopenmp -DDRAWGEOMGL -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/x86_64-linux-gnu/gtkglext-1.0/include -pthread  GabeditFileChooser.c -o GabeditFileChooser.o
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ../Common/Global.h:25,
                 from GInterfaceRoute.c:26:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
  723 | {
      | ^
gcc -fno-common -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DENABLE_DEPRECATED -fcommon -DENABLE_OMP -fopenmp -DDRAWGEOMGL  -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/x86_64-linux-gnu/gtkglext-1.0/include -pthread  -I/usr/include BondsOrb.c -o BondsOrb.o
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from GabeditFileChooser.c:20:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
  723 | {
      | ^
In file included from GInterfaceRoute.c:27:
../Utils/Utils.h:63:13: warning: Deprecated pre-processor symbol: replace with "const"
   63 | G_CONST_RETURN gchar *get_local_user();
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~                              
../Utils/Utils.h:75:13: warning: Deprecated pre-processor symbol: replace with "const"
   75 | gchar *get_dir_file_name(G_CONST_RETURN gchar* dirname, G_CONST_RETURN gchar* filename);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:75:13: warning: Deprecated pre-processor symbol: replace with "const"
../Utils/Utils.h:150:13: warning: Deprecated pre-processor symbol: replace with "const"
  150 | void gabedit_string_get_pixel_size(GtkWidget* parent, PangoFontDescription *font_desc, G_CONST_RETURN gchar* t, int *width, int* height);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:151:13: warning: Deprecated pre-processor symbol: replace with "const"
  151 | void gabedit_draw_string(GtkWidget* parent, GdkPixmap* pixmap, PangoFontDescription *font_desc, GdkGC* gc , gint x, gint y, G_CONST_RETURN gchar* t, gboolean centerX, gboolean centerY);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:153:13: warning: Deprecated pre-processor symbol: replace with "const"
  153 | G_CONST_RETURN gchar* get_open_babel_command();
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
../Utils/Utils.h:162:13: warning: Deprecated pre-processor symbol: replace with "const"
  162 | gchar * mystrcasestr(G_CONST_RETURN gchar *haystack, G_CONST_RETURN gchar *needle);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/Utils.h:162:13: warning: Deprecated pre-processor symbol: replace with "const"
In file included from GInterfaceRoute.c:28:
../Utils/UtilsInterface.h:124:13: warning: Deprecated pre-processor symbol: replace with "const"
  124 | GtkWidget *add_label_table(GtkWidget *Table, G_CONST_RETURN gchar *label,gushort line,gushort colonne);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/UtilsInterface.h:129:13: warning: Deprecated pre-processor symbol: replace with "const"
  129 | void set_last_directory(G_CONST_RETURN gchar* FileName);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
In file included from GInterfaceRoute.c:29:
../Utils/GabeditTextEdit.h:32:13: warning: Deprecated pre-processor symbol: replace with "const"
   32 | gint gabedit_text_search(GtkWidget *text, G_CONST_RETURN gchar *str, GtkTextIter* iter, gboolean forward);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/GabeditTextEdit.h:33:13: warning: Deprecated pre-processor symbol: replace with "const"
   33 | gint gabedit_text_search_all(GtkWidget *text, G_CONST_RETURN gchar *str);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/GabeditTextEdit.h:34:13: warning: Deprecated pre-processor symbol: replace with "const"
   34 | gint gabedit_text_search_forward(GtkWidget *text, G_CONST_RETURN gchar *str);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Utils/GabeditTextEdit.h:35:13: warning: Deprecated pre-processor symbol: replace with "const"
   35 | gint gabedit_text_search_backward(GtkWidget *text, G_CONST_RETURN gchar *str);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from GInterfaceRoute.c:31:
../Geometry/GeomXYZ.h:29:13: warning: Deprecated pre-processor symbol: replace with "const"
   29 | void read_XYZ_file_no_add_list(G_CONST_RETURN  gchar *);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
GInterfaceRoute.c: In function ‘GetChargesAndMultiplicitiesFromMain’:
GInterfaceRoute.c:42:18: warning: Deprecated pre-processor symbol: replace with "const"
   42 |         G_CONST_RETURN gchar *entrytext;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~                                  
GInterfaceRoute.c: In function ‘change_of_charge’:
GInterfaceRoute.c:200:13: warning: Deprecated pre-processor symbol: replace with "const"
  200 |         G_CONST_RETURN gchar *entry_text;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
GInterfaceRoute.c: In function ‘gene_polar’:
GInterfaceRoute.c:317:13: warning: Deprecated pre-processor symbol: replace with "const"
  317 |   G_CONST_RETURN gchar *entrytext;
      |             ^~~~~~~~~~~~~~~~~~~~~~                                   
GInterfaceRoute.c: In function ‘gene_scf’:
GInterfaceRoute.c:415:13: warning: Deprecated pre-processor symbol: replace with "const"
  415 |   G_CONST_RETURN gchar *entrytext;
      |             ^~~~~~~~~~~~~~~~~~~~~~                                   
GInterfaceRoute.c: In function ‘gene_freq’:
GInterfaceRoute.c:598:13: warning: Deprecated pre-processor symbol: replace with "const"
  598 |   G_CONST_RETURN gchar *entrytext;
      |             ^~~~~~~~~~~~~~~~~~~~~~                                   
cc1: some warnings being treated as errors
make[3]: *** [Makefile:10: Preferences.o] Error 1

Cheers
-- 
Sebastian Ramacher



More information about the Debichem-devel mailing list