[MCOL-4010] MCS fails to build on x86 with -Werror Created: 2020-05-19  Updated: 2020-06-02  Resolved: 2020-06-02

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: None
Fix Version/s: 1.5.2

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Roman
Resolution: Fixed Votes: 0
Labels: None

Attachments: File columnstore64.patch    
Issue Links:
Blocks
blocks MDEV-22197 test columnstore for 10.5 Closed
Sprint: 2020-7

 Description   

this is mainly type differences in printf formats and casts, and signed/unsigned comparisons (the latter isn't x86 only issue).

The patch is attached. tested on xenial-i386 and xenial-amd64.

the main issue was that int64_t is defined as long on amd64 and longlong on x86. This means neither "%ld" nor "%lld" will work on all platforms.



 Comments   
Comment by Patrick LeBlanc (Inactive) [ 2020-06-01 ]

I merged the patch, the PR is here
https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/1247

Comment by Roman [ 2020-06-02 ]

Nothing to test here.

Generated at Thu Feb 08 02:47:06 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.