Some warnings in GLib 2.24 (gutils.h and gthread.h)
- From: José Luis García Pallero <jgpallero gmail com>
- To: gtk-list gnome org
- Subject: Some warnings in GLib 2.24 (gutils.h and gthread.h)
- Date: Thu, 22 Apr 2010 21:04:38 +0200
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 gmail com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]