Bugzilla – Bug 1221709
GCC 14: unixODBC package fails
Last modified: 2024-03-25 07:58:02 UTC
Building unixODBC with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/unixODBC/standard/x86_64 Due to (exhaustive list of errors): info.c: In function 'SQLStatistics': info.c:1868:63: error: passing argument 6 of 'PG_SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 1868 | column_name, MAX_INFO_STRING, &column_name_len); | ^~~~~~~~~~~~~~~~ | | | int * In file included from statement.h:18, from info.c:42: bind.h:49:39: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'int *' 49 | SQLLEN *pcbValue); | ~~~~~~~~^~~~~~~~ info.c:1925:54: error: passing argument 6 of 'PG_SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 1925 | index_name, MAX_INFO_STRING, &index_name_len); | ^~~~~~~~~~~~~~~ | | | SDWORD * {aka int *} bind.h:49:39: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 49 | SQLLEN *pcbValue); | ~~~~~~~~^~~~~~~~ info.c:1934:44: error: passing argument 6 of 'PG_SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 1934 | fields_vector, 16, &fields_vector_len); | ^~~~~~~~~~~~~~~~~~ | | | SDWORD * {aka int *} info.c: In function 'PG_SQLPrimaryKeys': info.c:2220:51: error: passing argument 6 of 'PG_SQLBindCol' from incompatible pointer type [-Wincompatible-pointer-types] 2220 | attname, MAX_INFO_STRING, &attname_len); | ^~~~~~~~~~~~ | | | SDWORD * {aka int *} See the meta bug#1220571 for more info.
SR#1159779
This is an autogenerated message for OBS integration: This bug (1221709) was mentioned in https://build.opensuse.org/request/show/1159779 Factory / unixODBC
Done