mirror of
https://codeberg.org/armin/monoslicer.git
synced 2026-09-01 04:10:45 +02:00
Fix all compilation warnings
- Fix float-to-int conversions in WaveformDisplay::paint setBounds - Fix implicit int-to-float conversion in mousePressed key row calc - Remove unused variables in mouseWheelMove - Replace deprecated DirectoryIterator with RangedDirectoryIterator - Suppress JUCE/VST3 SDK warnings via CMAKE_CXX_FLAGS
This commit is contained in:
parent
6e220a60f4
commit
8dc07d2568
3 changed files with 11 additions and 11 deletions
|
|
@ -44,5 +44,7 @@ target_link_libraries(MonoSlicer
|
|||
PUBLIC
|
||||
juce::juce_recommended_config_flags
|
||||
juce::juce_recommended_lto_flags
|
||||
juce::juce_recommended_warning_flags
|
||||
)
|
||||
|
||||
# Suppress JUCE / VST3 SDK warnings globally for all targets.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations -Wno-implicit-int-conversion-on-negation")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue