Closed khunpoum closed 6 years ago
It seems that you are using GCC version >=6. A new warning -Wmisleading-indentation was added to -Wall, warning about places where the indentation of the code might mislead a human reader about the control flow, so these line of code will emit warning
if (block_sync_size > 0) return block_sync_size; return BLOCKS_SYNCHRONIZING_DEFAULT_COUNT;
Because all warnings being treated as errors, the compilation failed.
We will fix this issue. in the meantime, could you disable the -Wmisleading-indentation
flag by add the following line in CMakeLists.txt
set (C_CXX_WARNING_FLAGS -Wall -Wno-misleading-indentation)
OS: Ubuntu 17.10 Branch: master and release-v0.1.0.0 also
OS: