Unverified Commit b093bb56 by Edward Thomson Committed by GitHub

Merge pull request #4759 from pks-t/pks/ci-werror

ci: enable compilation with "-Werror"
parents 9ada072e 90084657
...@@ -29,7 +29,7 @@ echo "## Configuring build environment" ...@@ -29,7 +29,7 @@ echo "## Configuring build environment"
echo "##############################################################################" echo "##############################################################################"
echo cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON ${CMAKE_OPTIONS} echo cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON ${CMAKE_OPTIONS}
cmake ${SOURCE_DIR} -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS} cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -DBUILD_EXAMPLES=ON -DBUILD_FUZZERS=ON -DUSE_STANDALONE_FUZZERS=ON ${CMAKE_OPTIONS}
echo "" echo ""
echo "##############################################################################" echo "##############################################################################"
......
...@@ -1384,8 +1384,8 @@ static int git_odb_stream__invalid_length( ...@@ -1384,8 +1384,8 @@ static int git_odb_stream__invalid_length(
{ {
giterr_set(GITERR_ODB, giterr_set(GITERR_ODB,
"cannot %s - " "cannot %s - "
"Invalid length. %"PRIdZ" was expected. The " "Invalid length. %"PRId64" was expected. The "
"total size of the received chunks amounts to %"PRIdZ".", "total size of the received chunks amounts to %"PRId64".",
action, stream->declared_size, stream->received_bytes); action, stream->declared_size, stream->received_bytes);
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment