Date: Mon, 11 Mar 2019 13:05:44 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: Warnings to be ignored when building musl * Dmitry Golovin <dima@...ovin.in> [2019-03-11 13:16:39 +0200]: > I'm building musl 1.1.21 with clang and I get a lot of compiler warnings. I wonder if it's safe to ignore some of them? any parentheses warning should be ignored. currently you need to learn the c operator precedence rules to work on musl code. ignored-attributes and dangling-else may be relevant. string-plus-int should be ignored. > > Here is a list of warnings I got: > -Wbitwise-op-parentheses > -Wdangling-else > -Wignored-attributes > -Wlogical-op-parentheses > -Wparentheses > -Wshift-op-parentheses > -Wstring-plus-int > -Wunknown-pragmas > > Which of them should be ignored when building with clang? What are better be fixed? > > Regards, > Dmitry
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.