Fix mingw libechonest errors

This commit is contained in:
David Sansome 2010-10-04 22:22:54 +00:00
parent 6f5ece9964
commit 317e957c64
4 changed files with 8 additions and 4 deletions

View File

@ -68,4 +68,4 @@ public:
};
#endif

View File

@ -13,7 +13,9 @@ if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions( -Wall -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith
-Wwrite-strings -Wpacked -Wformat-security -Wmissing-format-attribute
-Wold-style-cast -Woverloaded-virtual -Wnon-virtual-dtor -Werror )
add_definitions( -fvisibility=hidden )
if ( NOT WIN32 )
add_definitions( -fvisibility=hidden )
endif()
# to be added:
# -Wshadow
# FIXME we might want this one back in, but Qt 4.4.3 spits gazillions of warnings with it on Linux-64:

View File

@ -84,4 +84,5 @@ namespace Parser
}
}
#endif
#endif

View File

@ -46,4 +46,5 @@ QString Echonest::statusToString(Echonest::Analysis::AnalysisStatus status)
return QLatin1String( "error" );
}
return QString();
}
}