Added GNUC __attribute__ format and fix incorrect formats it found#3805
Closed
dpelle wants to merge 2 commits intovim:masterfrom
Closed
Added GNUC __attribute__ format and fix incorrect formats it found#3805dpelle wants to merge 2 commits intovim:masterfrom
dpelle wants to merge 2 commits intovim:masterfrom
Conversation
k-takata
reviewed
Jan 15, 2019
Codecov Report
@@ Coverage Diff @@
## master #3805 +/- ##
==========================================
+ Coverage 78.48% 78.49% +<.01%
==========================================
Files 103 103
Lines 141880 141880
==========================================
+ Hits 111353 111366 +13
+ Misses 30527 30514 -13
Continue to review full report at Codecov.
|
VVKot
added a commit
to VVKot/neovim
that referenced
this pull request
Nov 20, 2021
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
clason
pushed a commit
to neovim/neovim
that referenced
this pull request
Nov 20, 2021
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
(Most of the changes do not apply because Neovim already uses PRId64 and other spelling mistakes were already fixed.)
muniter
pushed a commit
to muniter/neovim
that referenced
this pull request
Nov 20, 2021
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
(Most of the changes do not apply because Neovim already uses PRId64 and other spelling mistakes were already fixed.)
Shougo
pushed a commit
to Shougo/neovim
that referenced
this pull request
Dec 1, 2021
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
(Most of the changes do not apply because Neovim already uses PRId64 and other spelling mistakes were already fixed.)
zeertzjq
added a commit
to zeertzjq/neovim
that referenced
this pull request
Jan 5, 2026
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
Cherry-pick a change from patch 8.2.3830.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
zeertzjq
added a commit
to neovim/neovim
that referenced
this pull request
Jan 5, 2026
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
Cherry-pick a change from patch 8.2.3830.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
benja2998
added a commit
to icevim-editor/icevim
that referenced
this pull request
Jan 5, 2026
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
Cherry-pick a change from patch 8.2.3830.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
github-actions bot
pushed a commit
to neovim/neovim
that referenced
this pull request
Jan 8, 2026
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
Cherry-pick a change from patch 8.2.3830.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
(cherry picked from commit ef52242)
github-actions bot
pushed a commit
to neovim/neovim
that referenced
this pull request
Jan 8, 2026
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
Cherry-pick a change from patch 8.2.3830.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
(cherry picked from commit ef52242)
HarshK97
pushed a commit
to HarshK97/neovim
that referenced
this pull request
Feb 13, 2026
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes vim/vim#3805)
vim/vim@b5443cc
Cherry-pick a change from patch 8.2.3830.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds some
__attribute__((format(printf, ...))to detect incorrect format at compilation time and
fix a few incorrect format it found.