[MDEV-10270] tokudb compile failure with clang Created: 2016-06-22 Updated: 2016-09-20 Resolved: 2016-09-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - TokuDB |
| Affects Version/s: | 10.2.2 |
| Fix Version/s: | 5.5.50 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | clang | ||
| Issue Links: |
|
||||||||
| Description |
|
compile error using clang-3.8.0
Looks to me like ZERO_MUTEX_INITIALIZER should be defined to PTHREAD_MUTEX_INITIALIZER, at least on linux. The definition in pthread.h looks to be a struct of 0s anyway. |
| Comments |
| Comment by Elena Stepanova [ 2016-06-22 ] |
|
cvicentiu recently fixed TokuDB+clang compilation failures in 5.5 ( cvicentiu, please modify Affects and Fix Version/s as needed. |
| Comment by Daniel Black [ 2016-06-22 ] |
|
Dup of Thanks elenst and cvicentiu, https://github.com/MariaDB/server/commit/34a104ba0ccbe254100a235c04e4648136c9aa7e seems to cover the fix. Waiting for merge. |
| Comment by Vicențiu Ciorbaru [ 2016-09-20 ] |
|
Since |