diff options
author | Bruno Haible <bruno@clisp.org> | 2019-04-27 16:23:15 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-04-27 16:23:15 +0200 |
commit | 7ffb59a71322feee0c29c6ba46e100cc2c90cb08 (patch) | |
tree | 0fa4c951709696b2dab6d3040eb60b604679fe7b /modules | |
parent | 7f9640b56826df74f4a12ecb8184c780a7bb54a6 (diff) | |
download | gnulib-7ffb59a71322feee0c29c6ba46e100cc2c90cb08.tar.gz |
Fix gcc warnings on 64-bit mode mingw.
* lib/clean-temp.c: Include <stdint.h> instead of defining uintptr_t.
* lib/gl_array_list.c: Likewise.
* lib/gl_array_map.c: Likewise.
* lib/gl_array_set.c: Likewise.
* lib/gl_carray_list.c: Likewise.
* lib/gl_sublist.c: Likewise.
* lib/gl_avltreehash_list.c (uintptr_t): Remove definition.
* lib/gl_rbtreehash_list.c (uintptr_t): Likewise.
* lib/gl_hash_map.c (uintptr_t): Likewise.
* lib/gl_hash_set.c (uintptr_t): Likewise.
* lib/gl_linkedhash_list.c (uintptr_t): Likewise.
* lib/gl_linkedhash_map.c (uintptr_t): Likewise.
* lib/gl_linkedhash_set.c (uintptr_t): Likewise.
* lib/iconv.c (uintptr_t): Likewise.
* lib/iconv_close.c (uintptr_t): Likewise.
* tests/test-lock.c: Include <stdint.h>.
(once_contender_thread, test_once): Cast through 'intptr_t' instead of
'long'.
* modules/clean-temp (Depends-on): Add stdint.
* modules/array-list (Depends-on): Likewise.
* modules/array-map (Depends-on): Likewise.
* modules/array-set (Depends-on): Likewise.
* modules/carray-list (Depends-on): Likewise.
* modules/sublist (Depends-on): Likewise.
* modules/lock-tests (Depends-on): Likewise.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/array-list | 1 | ||||
-rw-r--r-- | modules/array-map | 1 | ||||
-rw-r--r-- | modules/array-set | 1 | ||||
-rw-r--r-- | modules/carray-list | 1 | ||||
-rw-r--r-- | modules/clean-temp | 1 | ||||
-rw-r--r-- | modules/lock-tests | 1 | ||||
-rw-r--r-- | modules/sublist | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/modules/array-list b/modules/array-list index 340bb8f454..6064671470 100644 --- a/modules/array-list +++ b/modules/array-list @@ -7,6 +7,7 @@ lib/gl_array_list.c Depends-on: list +stdint xsize configure.ac: diff --git a/modules/array-map b/modules/array-map index abdef16869..46ae89aa44 100644 --- a/modules/array-map +++ b/modules/array-map @@ -7,6 +7,7 @@ lib/gl_array_map.c Depends-on: map +stdint xsize configure.ac: diff --git a/modules/array-set b/modules/array-set index bb03425fcd..a8eb33f671 100644 --- a/modules/array-set +++ b/modules/array-set @@ -7,6 +7,7 @@ lib/gl_array_set.c Depends-on: set +stdint xsize configure.ac: diff --git a/modules/carray-list b/modules/carray-list index 4a1f66fd21..da14c83550 100644 --- a/modules/carray-list +++ b/modules/carray-list @@ -7,6 +7,7 @@ lib/gl_carray_list.c Depends-on: list +stdint xsize configure.ac: diff --git a/modules/clean-temp b/modules/clean-temp index 951e0c5c11..d5c44ee294 100644 --- a/modules/clean-temp +++ b/modules/clean-temp @@ -7,6 +7,7 @@ lib/clean-temp.c Depends-on: stdbool +stdint unistd error fatal-signal diff --git a/modules/lock-tests b/modules/lock-tests index 52858f7b32..802471e0f1 100644 --- a/modules/lock-tests +++ b/modules/lock-tests @@ -5,6 +5,7 @@ tests/test-once.c Depends-on: thread +stdint usleep yield diff --git a/modules/sublist b/modules/sublist index 0691443041..6c856cb18a 100644 --- a/modules/sublist +++ b/modules/sublist @@ -7,6 +7,7 @@ lib/gl_sublist.c Depends-on: list +stdint configure.ac: |