Fix warnings in build

These had been turned off in oaktree because of protobuf. Turn them
back on. And then fix the unused parameter issue.
This commit is contained in:
Monty Taylor 2019-02-09 16:08:41 +00:00
parent 2fcf3c64c8
commit ca18b09f26
2 changed files with 2 additions and 4 deletions

View File

@ -74,9 +74,7 @@ AC_DEFUN([ZUUL_CANONICAL_TARGET],[
PANDORA_HEADER_ASSERT
# Enable PANDORA_WARNINGS once there is C++ code that's not generated, if
# that's ever a time
dnl PANDORA_WARNINGS(PCT_ALL_ARGS)
PANDORA_WARNINGS(PCT_ALL_ARGS)
PANDORA_ENABLE_DTRACE

View File

@ -29,7 +29,7 @@ using json = nlohmann::json;
using namespace std;
int main(int argc, char **argv)
int main(int, char**)
{
json j;
j["pi"] = 3.14;