Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 530294 Details for
Bug 654724
media-video/smplayer-18.4.0 with GCC 8.1 - mongoose.c:8370:65: error: ‘%s’ directive output may be truncated writing up to 8191 bytes into a region of size 500 [-Werror=format-truncation=]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove -Werror which should not be in production code
file_654724.txt (text/plain), 574 bytes, created by
Martin Väth
on 2018-05-07 05:08:32 UTC
(
hide
)
Description:
Remove -Werror which should not be in production code
Filename:
MIME Type:
Creator:
Martin Väth
Created:
2018-05-07 05:08:32 UTC
Size:
574 bytes
patch
obsolete
>The previous patch was a mistake: > >As already indicated, the actual bug is that an error instead of just an informative warning is reported. I had falsely assumed that this was a compiler default (perhaps caused by the default -DFORTIFY_SOURCE=2) and had missed that for this particular file the compiler flag -Werror has been passed. > >Of course, this flag should only be used by developers and is broken in production code exactly for this reason: Informative messages are not bugs. > >So the correct bugfix is to stop using -Werror which is done by the attached patch.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 654724
:
529566
|
529712
|
530068
| 530294