mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +01:00
Fix dangling else ambiguity, and make that warning a build-breaker...
... In this case, the ambiguity resolution was correct for the intent, but we shouldn't rely on that.
This commit is contained in:
@@ -1020,6 +1020,7 @@ list( APPEND OPTIONS
|
||||
$<$<CXX_COMPILER_ID:MSVC>:/permissive->
|
||||
$<$<CXX_COMPILER_ID:AppleClang,Clang>:-Wno-underaligned-exception-object>
|
||||
$<$<CXX_COMPILER_ID:AppleClang,Clang>:-Werror=return-type>
|
||||
$<$<CXX_COMPILER_ID:AppleClang,Clang>:-Werror=dangling-else>
|
||||
)
|
||||
|
||||
list( APPEND LDFLAGS
|
||||
|
||||
Reference in New Issue
Block a user