[BUG] unable to use NGX_LOG_STDERR log level
manlio.perillo at gmail.com
Wed Mar 24 01:29:07 MSK 2010
-----BEGIN PGP SIGNED MESSAGE-----
I have noted that I can not use NGX_LOG_STDERR log level.
I get this compiler error message:
cc1: warnings being treated as errors
...: error: comparison of unsigned expression >= 0 is always true
gcc version 4.4.3 20100108 (prerelease) (Debian 4.4.2-9)
The GCC warning name is `type-limits` and it is implied by the `-W` option.
By the way, the `-W` option has been renamed in `-Wextra` in recent GCC
Note that I'm using NGX_LOG_STDERR *only* for the very first draft of a
I have temporary solved the problem with a simple:
but the solution is probably to store the log level in a signed integer.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the nginx-devel