开发者

How to supress known warnings when building Nginx on Linux?

开发者 https://www.devze.com 2023-01-13 13:53 出处:网络
I am a linux amateur and am trying to build nginx on Debian (Lenny) for the first time. Attemps to build nginx are failing and I receive the known warnings on sys_errorlist and sys_nerr as documente

I am a linux amateur and am trying to build nginx on Debian (Lenny) for the first time.

Attemps to build nginx are failing and I receive the known warnings on sys_errorlist and sys_nerr as documented here: http://nginx.org/en/docs/sys_errlist.html

The documentation suggests this is a warning that I can ignore. My question is what flag(s) do I need to include with make to tell it to ignore those warnings?

I have been pouring through the flag options with no real leads and searches only go as far as telling me that I can 开发者_开发技巧ignore the warnings. It may be an obvious answer, perhaps why I can't find anything posted, so I'm asking those who are smarter than I. Thanks...


They mean ignore as in you the human ignoring them, not as in telling the compiler to ignore them. It shouldn't cause the compilation to fail unless you specify -Werror.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号