fix(3p/nix): Fix all remaining compiler warnings
This compiles under `-Wall -Werror`. The largest chunk of this change is `final` qualifiers for the various Nix CLI command structs, which inherit from a Command class that has more virtual functions than are implemented by each command. Change-Id: I0925e6e1a39013f026773db5816e4a77d50f3b4a Reviewed-on: https://cl.tvl.fyi/c/depot/+/1294 Tested-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi> Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
ca50fb66d2
commit
15afa8472e
33 changed files with 66 additions and 39 deletions
5
third_party/nix/src/libexpr/parser.y
vendored
5
third_party/nix/src/libexpr/parser.y
vendored
|
|
@ -11,7 +11,10 @@
|
|||
%expect 1
|
||||
%expect-rr 1
|
||||
|
||||
%code requires { #include "libexpr/parser.hh" }
|
||||
%code requires {
|
||||
#define YY_NO_INPUT 1 // disable unused yyinput features
|
||||
#include "libexpr/parser.hh"
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue