Some warnings in GLib 2.24 (gutils.h and gthread.h)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I'm using GLib 2.24 (the Debian GNU/Linux package in Sid) and in the
compilation I obtain two warnings in GLib files.
My gcc flags are:

-std=c99 -pedantic -Wall -Wextra -Wconversion -Wmissing-prototypes
-Wstrict-prototypes -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
-Wnested-externs

And the warnings are:


/usr/include/glib-2.0/glib/gutils.h: In function ‘g_bit_storage’:
/usr/include/glib-2.0/glib/gutils.h:358: warning: conversion to
‘guint’ from ‘int’ may change the sign of the result
/usr/include/glib-2.0/glib/gthread.h: In function ‘g_once_init_enter’:
/usr/include/glib-2.0/glib/gthread.h:348: warning: cast discards
qualifiers from pointer target type

I suppose that they can be easy to fix in next release.

-- 
*****************************************
José Luis García Pallero
jgpallero@xxxxxxxxx
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux