Re: GLogLevelFlags enum and g_log



On 26/05/14 10:59, Simon McVittie wrote:
If this is the case, then it would seem wise to add something like

    G_STATIC_ASSERT (sizeof (enum { A = 1 }) == sizeof (int));

to check this assumption.

Let's see what GLib maintainers think:
https://bugzilla.gnome.org/show_bug.cgi?id=730932

    S



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