Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
a900ff69
Commit
a900ff69
authored
Dec 20, 2018
by
Henrik Gramner
Browse files
build: Silence some useless MSVC warnings
parent
0f25db1a
Pipeline
#3717
passed with stages
in 5 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
meson.build
View file @
a900ff69
...
...
@@ -170,6 +170,12 @@ optional_arguments = [
'-Wno-unused-parameter',
'-Werror=missing-prototypes',
]
if cc.get_id() == 'msvc'
optional_arguments += [
'-wd4028', # parameter different from declaration
'-wd4996' # use of POSIX functions
]
endif
if (get_option('buildtype') != 'debug' and get_option('buildtype') != 'plain')
optional_arguments += '-fomit-frame-pointer'
...
...
Write
Preview
Supports
Markdown
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