Enforce -Werror on C++ files and fix resulting errors.

This commit is contained in:
John Ralls
2017-12-26 13:01:50 -08:00
parent a6a46d7cdc
commit 91727525b9
9 changed files with 21 additions and 12 deletions

View File

@@ -203,7 +203,7 @@ GncSqlPriceBackend::commit (GncSqlBackend* sql_be, QofInstance* inst)
return is_ok;
}
gboolean
static gboolean
write_price (GNCPrice* p, gpointer data)
{
auto s = reinterpret_cast<write_objects_t*>(data);