Re: GLogLevelFlags enum and g_log

On Wed, May 28, 2014 at 6:55 PM, Morten Welinder <mortenw gnome org> wrote:
> enum GLogLevel {
>    ... existing, expected values ...
>    _require_int = INT_MAX
> }

That actually makes the whole thing undefined rather than implementation
defined by section 7.1.3 in C99.

maybe it would be helpful to say "the leading underscore makes the whole thing ..."

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