GNOME Bugzilla – Bug 353729
libgda uses sys_errlist, which should not be used directly.
Last modified: 2006-12-27 17:52:42 UTC
libgda uses sys_errlist, which is deprecated in some distros and absent in others. Specifically, libgda-1.9.102/libgda/gda-data-model-import.c The following comment found in <stdio.h> on a current fedora/rawhide system suggests using strerror() instead: /* Provide the declarations for `sys_errlist' and `sys_nerr' if they are available on this system. Even if available, these variables should not be used directly. The `strerror' function provides all the necessary functionality. */ -Joseph
Created attachment 71982 [details] [review] proposed patch to replace sys_err with strerror() Attached is a proposed patch that replaces sys_err with strerror() -Joseph
Committed. Thanks. I guess we will see if this breaks the compilation for other systems. If so, it will need a configure check. Please do patch the ChangeLog in future.