Public bug reported:
This is distinct from #2142106 (it still happens even after the flags
are set):
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 1; bool TDigitSep = true; T = short unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 2; bool TDigitSep = true; T = short unsigned int]’
at /<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 2; bool TDigitSep = true; T = short unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 1; bool TDigitSep = true; T = short int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 1; bool TDigitSep = true; T = short int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 2; bool TDigitSep = true; T = short int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 2; bool TDigitSep = true; T = short int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 1; bool TDigitSep = true; T = int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 1; bool TDigitSep = true; T = int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 2; bool TDigitSep = true; T = int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 2; bool TDigitSep = true; T = int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 1; bool TDigitSep = true; T = long int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 1; bool TDigitSep = true; T = long int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 2; bool TDigitSep = true; T = long int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 2; bool TDigitSep = true; T = long int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 1; bool TDigitSep = true; T = unsigned int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 1; bool TDigitSep = true; T = unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 2; bool TDigitSep = true; T = unsigned int]’ at
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 2; bool TDigitSep = true; T = unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 1; bool TDigitSep = true; T = long unsigned int]’
at /<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 1; bool TDigitSep = true; T = long unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
In function ‘void OpenRCT2::AppendSeparatorReversed(char (&)[TSize], TIndex&,
std::string_view) [with long unsigned int TSize = 32; TIndex = long unsigned
int]’,
inlined from ‘void OpenRCT2::FormatNumber(FormatBuffer&, T) [with long
unsigned int TDecimalPlace = 2; bool TDigitSep = true; T = long unsigned int]’
at /<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:382:44:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:317:25: error:
writing 32 bytes into a region of size 31 [-Werror=stringop-overflow=]
317 | buffer[i++] = sepBuffer[j];
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp: In function ‘void
OpenRCT2::FormatNumber(FormatBuffer&, T) [with long unsigned int TDecimalPlace
= 2; bool TDigitSep = true; T = long unsigned int]’:
/<<PKGBUILDDIR>>/src/openrct2/localisation/Formatting.cpp:324:14: note: at
offset [1, 31] into destination object ‘buffer’ of size 32
324 | char buffer[32];
| ^~~~~~
** Affects: openrct2 (Ubuntu)
Importance: Undecided
Assignee: Grayson Wolf (graysonwolf)
Status: New
** Changed in: openrct2 (Ubuntu)
Assignee: (unassigned) => Grayson Wolf (graysonwolf)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161639
Title:
openrct2: FTBFS in stonking (amd64v3)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openrct2/+bug/2161639/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs