Re: RFR: 8257928: Test image build failure with clang-10 due to -Wmisleading-indentation

2020-12-22 Thread Chris Plummer
On Wed, 9 Dec 2020 07:11:53 GMT, Hao Sun wrote: > Flag '-Wmisleading-indentation' was introduced since clang-10 [1] and > gcc-6 [2]. Putting the code with proper indentations would suppress this > warning. > > The main reason why test image build with gcc succeeds is that, clang > and gcc might

Re: RFR: 8257928: Test image build failure with clang-10 due to -Wmisleading-indentation

2020-12-22 Thread Alex Menkov
On Wed, 9 Dec 2020 07:11:53 GMT, Hao Sun wrote: > Flag '-Wmisleading-indentation' was introduced since clang-10 [1] and > gcc-6 [2]. Putting the code with proper indentations would suppress this > warning. > > The main reason why test image build with gcc succeeds is that, clang > and gcc might