mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Add -Wno-parentheses to CFLAGS.
Without this flag -Wall generates warnings that nobody wants to see fixed or worked around. Disabling those warnings is thus the best solution. Originally committed as revision 24666 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
546017fc79
commit
440e3b2f7f
1
configure
vendored
1
configure
vendored
@ -2797,6 +2797,7 @@ enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
|
||||
# add some useful compiler flags if supported
|
||||
check_cflags -Wdeclaration-after-statement
|
||||
check_cflags -Wall
|
||||
check_cflags -Wno-parentheses
|
||||
check_cflags -Wno-switch
|
||||
check_cflags -Wdisabled-optimization
|
||||
check_cflags -Wpointer-arith
|
||||
|
Loading…
Reference in New Issue
Block a user