-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.3.12: build fails with gcc 14.x #158
Comments
Under Gentoo:
But it's possible to turn on |
Actually this issue has nothing to do with gcc version |
@kloczek All that I've done to have these errors, I've moved from gcc 13 to 14. Clang 15 (it's been reverted in 15.0.1) turns on the following as -Werror-by-default:
|
On 18/04/2024 15:15, Maxim P. DEMENTIEV wrote:
Under Gentoo:
|/bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I.
-I/var/tmp/portage/dev-db/unixODBC-2.3.12/work/unixODBC-2.3.12/Drivers/Postgre7.1
-I../..
-I/var/tmp/portage/dev-db/unixODBC-2.3.12/work/unixODBC-2.3.12/include
-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx
-mno-widekl -mshstk --param=l1-cache-line-size=64
--param=l1-cache-size=32 --param=l2-cache-size=12288 -O2 -pthread -c
-o md5.lo
/var/tmp/portage/dev-db/unixODBC-2.3.12/work/unixODBC-2.3.12/Drivers/Postgre7.1/md5.c
/var/tmp/portage/dev-db/unixODBC-2.3.12/work/unixODBC-2.3.12/Drivers/Postgre7.1/info.c:
In function 'SQLStatistics':
/var/tmp/portage/dev-db/unixODBC-2.3.12/work/unixODBC-2.3.12/Drivers/Postgre7.1/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 *|
|Checking my source for 2.3.13pre all of those arguments in the
unsupported samples have been changed to SQLLEN *|
|
Also see #157 (comment) |
Looks like with new gcc is reported
[-Wimplicit-function-declaration]
errorThe text was updated successfully, but these errors were encountered: