You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~ ▶ curl -s https://api.travis-ci.org/v3/job/389539896/log.txt | grep 'uninitialized'
test/chain/block.cpp: In member function‘voidchain_block_tests::block__is_valid_merkle_root__uninitialized__returns_true::test_method()’:
gcc static
~ ▶ curl -s https://api.travis-ci.org/v3/job/389539897/log.txt | grep 'uninitialized'
dictbe.cpp:1050:60: warning: ‘current’ may be used uninitialized in this function[-Wmaybe-uninitialized]
dictbe.cpp:813:60: warning: ‘current’ may be used uninitialized in this function[-Wmaybe-uninitialized]
dictbe.cpp:620:60: warning: ‘current’ may be used uninitialized in this function[-Wmaybe-uninitialized]
dictbe.cpp:424:60: warning: ‘current’ may be used uninitialized in this function[-Wmaybe-uninitialized]
../common/unicode/unistr.h:4158:64: warning: ‘relativeStringOffset’ may be used uninitialized in this function[-Wmaybe-uninitialized]
test/chain/block.cpp: In member function‘voidchain_block_tests::block__is_valid_merkle_root__uninitialized__returns_true::test_method()’:
clang (all flavours; this is the expected output)
~ ▶ curl -s https://api.travis-ci.org/v3/job/389539888/log.txt | grep 'uninitialized'
src/settings.cpp:33:44: warning: field 'retargeting_factor_' is uninitialized when used here [-Wuninitialized]
src/settings.cpp:34:44: warning: field 'retargeting_factor_' is uninitialized when used here [-Wuninitialized]
src/settings.cpp:35:52: warning: field 'target_spacing_seconds_' is uninitialized when used here [-Wuninitialized]
``
I have the same issue locally. The Makefile generated by configure contains the following lines.
See this travis build logs:
I have the same issue locally. The
Makefile
generated byconfigure
contains the following lines.If I manually append the warning flags from
CFLAGS
toCXXFLAGS
the expected warnings are enabled and printed.The text was updated successfully, but these errors were encountered: