mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
-Added -Werror to build flags, fixed two offenders
This commit is contained in:
parent
e1b5dc895a
commit
ddd44f3950
3 changed files with 5 additions and 5 deletions
|
@ -37,8 +37,8 @@ IF(BUILD_TESTS)
|
|||
ENDIF(BUILD_TESTS)
|
||||
|
||||
IF(RELEASE_BUILD)
|
||||
SET(CMAKE_CXX_FLAGS "-g -Wall -Wno-unused-variable -ffast-math")
|
||||
SET(CMAKE_C_FLAGS "-g -Wall -W -Wno-unused-variable -ffast-math")
|
||||
SET(CMAKE_CXX_FLAGS "-g -Wall -Werror -Wno-unused-variable -ffast-math")
|
||||
SET(CMAKE_C_FLAGS "-g -Wall -Werror -W -Wno-unused-variable -ffast-math")
|
||||
ENDIF(RELEASE_BUILD)
|
||||
|
||||
|
||||
|
|
|
@ -475,7 +475,7 @@ void Gui::addMidiControllerToSetup(std::string c)
|
|||
|
||||
void Gui::setupMidiControllers()
|
||||
{
|
||||
for(int i = 0; i < controllerVector.size(); i++)
|
||||
for(unsigned int i = 0; i < controllerVector.size(); i++)
|
||||
{
|
||||
GenericMIDI* c = new GenericMIDI( controllerVector.at(i).c_str() );
|
||||
if ( c )
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
extern Jack* jack;
|
||||
|
||||
MidiIO::MidiIO() :
|
||||
portsRegistered(false),
|
||||
jackInputPort(0),
|
||||
jackOutputPort(0),
|
||||
portsRegistered(false)
|
||||
jackOutputPort(0)
|
||||
{
|
||||
//LUPPP_NOTE("MidiIO %i",this);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue