Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 594246 Details for
Bug 692422
app-office/libreoffice-6.3.0.4[-mariadb] fails to build with >=dev-db/mysql-connector-c-8: error: cannot convert ‘char*’ to ‘bool*’ in assignment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libreoffice-6.3.0.4-no-my_bool.patch
libreoffice-6.3.0.4-no-my_bool.patch (text/plain), 985 bytes, created by
Peter Levine
on 2019-10-28 18:21:38 UTC
(
hide
)
Description:
libreoffice-6.3.0.4-no-my_bool.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2019-10-28 18:21:38 UTC
Size:
985 bytes
patch
obsolete
>Bug: https://bugs.gentoo.org/692422 >Upstream: https://github.com/LibreOffice/core/pull/20 > >In MySQL Connector/C 8, my_bool is gone and replaced with a bool. Previously, >it was a char. This triggers errors when trying to convert a char* >to a bool*. If the MySQL Connector/C version is 8.x of later, use a bool. >Otherwise, default to a char. > >--- a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx >+++ b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.hxx >@@ -39,11 +39,17 @@ > using ::com::sun::star::uno::RuntimeException; > using ::com::sun::star::uno::Type; > >+#if defined MYSQL_VERSION_ID && (MYSQL_VERSION_ID >= 80000) && !defined MARIADB_BASE_VERSION >+using my_bool = bool; >+#else >+using my_bool = char; >+#endif >+ > struct BindMetaData > { >- char is_null = 0; >+ my_bool is_null = 0; > unsigned long length = 0; >- char error = 0; >+ my_bool error = 0; > }; > > typedef ::cppu::ImplHelper5<css::sdbc::XPreparedStatement, css::sdbc::XParameters,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 692422
:
587238
|
587590
|
587598
| 594246