On 03/07/2024 06:05, Otto Kekäläinen wrote:
[...]
MariaDB has this piece of code that is failing on x32 as reported in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063738
tests/mysql_client_fw.c
@@ -1442
#if defined __x86_64__
#if defined(__x86_64__) && !defined(__ILP32__)
compile_time_assert(sizeof(MYSQL) == 1272);
#elif defined __i386__
compile_time_assert(sizeof(MYSQL) == 964);
#endif
How should I fix this for x32? What is the preprocessor if clause and
can I safely assume the size is 964?
MariaDB has this piece of code that is failing on x32 as reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063738
tests/mysql_client_fw.c
@@ -1442
#if defined __x86_64__
compile_time_assert(sizeof(MYSQL) == 1272);
#elif defined __i386__
compile_time_assert(sizeof(MYSQL) == 964);
#endif
How should I fix this for x32? What is the preprocessor if clause and
can I safely assume the size is 964?
tests/mysql_client_fw.cThe comment before this reads
@@ -1442
#if defined __x86_64__
compile_time_assert(sizeof(MYSQL) == 1272);
#elif defined __i386__
compile_time_assert(sizeof(MYSQL) == 964);
#endif
How should I fix this for x32? What is the preprocessor if clause and
can I safely assume the size is 964?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:05:34 |
Calls: | 9,480 |
Calls today: | 1 |
Files: | 13,613 |
Messages: | 6,119,931 |