projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
c05da82
)
gfio: remove warning on g_type_init() being deprecated
author
Jens Axboe
<axboe@fb.com>
Wed, 8 Oct 2014 02:46:26 +0000
(20:46 -0600)
committer
Jens Axboe
<axboe@fb.com>
Wed, 8 Oct 2014 02:46:26 +0000
(20:46 -0600)
Compile throws this on newer glib:
gfio.c: In function ‘init_ui’:
gfio.c:1690:2: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:667) [-Wdeprecated-declarations]
g_type_init();
^
Fix it with a GLIB_CHECK_VERSION() check for 2.36.0.
Signed-off-by: Jens Axboe <axboe@fb.com>
No differences found