[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Is '-Wno-unused-variable' still needed?
From: |
Greg Chicares |
Subject: |
Re: [lmi] Is '-Wno-unused-variable' still needed? |
Date: |
Tue, 26 Oct 2021 13:59:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 10/24/21 9:37 PM, Vadim Zeitlin wrote:
[...]
> ---------------------------------- >8 --------------------------------------
> ledger_evaluator.cpp:690:39: error: unused variable 'f4'
> [-Werror,-Wunused-variable]
> std::pair<int,oenum_format_style> f4(2, oe_format_percentage);
> ^
> ledger_evaluator.cpp:688:39: error: unused variable 'f2'
> [-Werror,-Wunused-variable]
> std::pair<int,oenum_format_style> f2(2, oe_format_normal);
> ^
> 2 errors generated.
> ---------------------------------- >8 --------------------------------------
[...]
> I'm not sure if I should move this LMI_CXX_ADD_IF_SUPPORTED() to
> clang-only section of configure or if we could fix it, even for clang, and
Done.
> then just delete this line.
Done.