| Summary: | games-strategy/colobot-0.1.11 : /.../model_output.cpp:331:16: error: char* strncpy(char*, const char*, size_t) specified bound 20 equals destination size [-Werror=stringop-truncation] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Michał Górny <mgorny> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 games-strategy:colobot-0.1.11:20190914-232114.log logs.tbz2 temp.tbz2 |
||
Created attachment 589858 [details]
emerge-info.txt
Created attachment 589860 [details]
emerge-history.txt
Created attachment 589862 [details]
environment
Created attachment 589864 [details]
etc.portage.tbz2
Created attachment 589866 [details]
games-strategy:colobot-0.1.11:20190914-232114.log
Created attachment 589868 [details]
logs.tbz2
Created attachment 589870 [details]
temp.tbz2
*** This bug has been marked as a duplicate of bug 686490 *** |
/var/tmp/portage/games-strategy/colobot-0.1.11/work/colobot-colobot-gold-0.1.11-alpha/src/graphics/model/model_output.cpp: In function ‘void Gfx::ModelOutput::WriteOldModel(const Gfx::CModel&, std::ostream&)’: /var/tmp/portage/games-strategy/colobot-0.1.11/work/colobot-colobot-gold-0.1.11-alpha/src/graphics/model/model_output.cpp:331:16: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 20 equals destination size [-Werror=stringop-truncation] 331 | strncpy(t.texName, triangle.tex1Name.c_str(), 20); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-libressl-20190913-195003 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository timestamp: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 14 Sep 2019 22:06:02 +0000 emerge -qpvO games-strategy/colobot [ebuild N ] games-strategy/colobot-0.1.11 USE="openal -devbuild -doc -test -tools"