| Summary: | -Werror=format-security false positive on constant | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karel Volný <kvolny> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | jakub, kvolny, law | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-02-01 15:21:31 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1037377 | ||||||
| Attachments: |
|
||||||
|
Description
Karel Volný
2013-12-04 11:08:03 UTC
Please attach preprocessed source. Created attachment 857937 [details]
allmenus.cpp preprocessed
hope this is what are you asking for ...?
The warning is correct, the bindtextdomain function certainly isn't a format_arg attribute function like e.g. gettext, etc., so you should of course use "%s", bindtextdomain (...) instead. sorry for the noise then and thanks for the explanation in the other (not-a-)bug (/me still doesn't understand what does it mean "like e.g. gettext", but whatever) |