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();

Bug#979350: Confirmation of G++/GCC bug on gentoo

2021-01-06 Thread Jens Ungerer
The described compiler bug is reproducible on gentoo [0] (gcc-10.2.0-r5, that is patchlevel 6). So it is not a debian - specific bug [0] https://github.com/Return-To-The-Roots/s25client/issues/1327#issuecomment-755180727

Bug#979350: gcc-10: compiling bug of code for https://github.com/Return-To-The-Roots/s25client

2021-01-05 Thread Jens Ungerer
Package: gcc-10 Version: 10.2.1-3 Severity: normal X-Debbugs-Cc: git...@jens-ungerer.de Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * Please compare github-issue-post: https://github.com/Return-To-The-