Commit 3400f1d1 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

closes #6042 add -Wno-error=address-of-array-temporary

git-svn-id: file:///svn/toku/tokudb@53419 c7de825b-a66e-492c-adef-691d508d4ae1
parent 938306ca
...@@ -86,6 +86,7 @@ set_cflags_if_supported( ...@@ -86,6 +86,7 @@ set_cflags_if_supported(
-Wlogical-op -Wlogical-op
-Wmissing-format-attribute -Wmissing-format-attribute
-Wno-error=missing-format-attribute -Wno-error=missing-format-attribute
-Wno-error=address-of-array-temporary
-fno-rtti -fno-rtti
-fno-exceptions -fno-exceptions
) )
......
...@@ -566,7 +566,7 @@ static int ...@@ -566,7 +566,7 @@ static int
update_estimated_rows(DB_INDEXER *indexer) { update_estimated_rows(DB_INDEXER *indexer) {
DBT key; toku_init_dbt(&key); DBT key; toku_init_dbt(&key);
DBT data; toku_init_dbt(&data); DBT data; toku_init_dbt(&data);
DBC* crsr; DBC* crsr = NULL;
DB_TXN* txn = NULL; DB_TXN* txn = NULL;
uint64_t less, equal, greater; uint64_t less, equal, greater;
int is_exact; int is_exact;
......
...@@ -506,7 +506,7 @@ error: ...@@ -506,7 +506,7 @@ error:
int apply_commandline_options() int apply_commandline_options()
{ {
int r; int r = -1;
unsigned idx; unsigned idx;
char* field; char* field;
char* value = NULL; char* value = NULL;
......
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