[oe] [PATCH] rocksdb: Fix compile error for DEBUG_BUILD

Adrian Bunk bunk at stusta.de
Wed Jan 8 09:27:00 UTC 2020


On Wed, Jan 08, 2020 at 02:09:03PM +0800, Robert Yang wrote:
> Fixed do_compile error when DEBUG_BUILD = "1":
> db/write_thread.cc:183:14: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>...

-Og warnings are not 100% reliable, and in general -Werror is
problematic for distributions.

Does building with -DFAIL_ON_WARNINGS=OFF fix this problem?

cu
Adrian


More information about the Openembedded-devel mailing list