-
Notifications
You must be signed in to change notification settings - Fork 9
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
dbdimp.c:sv_setbool not available before perl 5.36 #58
Comments
Not sure if it helps, but CentOS/RHEL/Rocky Linux 8 has GCC 8.5 and CentOS/RHEL/Rocky Linux 9 has GCC 11.4. Switching to GCC 13.0 helps to avoid this build error, but leads afterwards to:
According to perl5360delta, |
Yes. I was misled by the perlapi documentation, which mentions that sv_set_bool was introduced in 5.35.xx, but no such note is present about sv_setbool. Fixed in version 1.37. The "a label can only be part of a statement" compilation error with older GCC seems very strange to me. Please file another issue about it if you wish. A patch would be welcome. |
I meanwhile assume this is some GCC quirks (bug?), because as per DBD::Firebird 1.37 with #59 applied, GCC 11.4 from CentOS/RHEL/Rocky Linux 9 doesn't yell anymore (GCC 8.5 from CentOS/RHEL/Rocky Linux 8 still yells, but doesn't when using a later GCC version, thus that's what I now used for EPEL 8), and based on the difference between 1.36 and 1.37 at least I can't see why GCC yells. |
Building
DBD::Firebird
1.36 against Firebird 4.0.0.2496, as shipped by EPEL 8 and 9 for CentOS/RHEL/Rocky Linux 8 and 9 (which contain both Perl 5.26.3), fails like this (while 1.34 built fine before):The text was updated successfully, but these errors were encountered: