GLogLevelFlags enum and g_log
- From: Umut Tezduyar Lindskog <umut tezduyar com>
- To: gtk-devel-list gnome org
- Subject: GLogLevelFlags enum and g_log
- Date: Sat, 24 May 2014 18:59:59 +0200
Hi,
Passing user-defined level to g_log as second argument would be
against the C standard since second argument is defined as
GLogLevelFlags enum.
Normally it shouldn't be a problem but since glib defined values of
GLogLevelFlags can fit in to 8 bits, sizeof(GLogLevelFlags) could be 1
depending on the compiler.
I would like to know if this has been discussed before?
Thanks,
Umut
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]