Bug#979350: Minimal Example: Command and Output

2021-01-07 Thread Jens Ungerer
$ g++-10 -O3 -Werror -c test.cpp test.cpp: In member function ‘void Container::bar()’: test.cpp:32:22: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 32 | toolsSetting = PopUnsignedChar(); | ~^~~ test.cpp:32:22:

Bug#979350: Minimal Example

2021-01-07 Thread Jens Ungerer
The bug can be made reproducible with [cf. 2]: #include #include #include extern void* globalData; class Container { public: std::array militarySettings_; std::array toolsSettings_; void bar();