Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
dbe12a6b
Commit
dbe12a6b
authored
May 22, 2021
by
Namkhai B
Committed by
Max Kellermann
May 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util/RuntimeError: Disable format-security for gcc
Fixes building under GCC 11
parent
d3a680cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
RuntimeError.hxx
src/util/RuntimeError.hxx
+2
-2
No files found.
src/util/RuntimeError.hxx
View file @
dbe12a6b
...
...
@@ -35,7 +35,7 @@
#include <stdio.h>
#if
def __clang__
#if
defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic push
// TODO: fix this warning properly
#pragma GCC diagnostic ignored "-Wformat-security"
...
...
@@ -59,7 +59,7 @@ FormatInvalidArgument(const char *fmt, Args&&... args) noexcept
return
std
::
invalid_argument
(
buffer
);
}
#if
def __clang__
#if
defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic pop
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment