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:
parent
2fcf3c64c8
commit
ca18b09f26
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue