Fix mingw libechonest errors
This commit is contained in:
parent
6f5ece9964
commit
317e957c64
2
3rdparty/libechonest/CMakeLists.txt
vendored
2
3rdparty/libechonest/CMakeLists.txt
vendored
@ -13,7 +13,9 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||||||
add_definitions( -Wall -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith
|
add_definitions( -Wall -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith
|
||||||
-Wwrite-strings -Wpacked -Wformat-security -Wmissing-format-attribute
|
-Wwrite-strings -Wpacked -Wformat-security -Wmissing-format-attribute
|
||||||
-Wold-style-cast -Woverloaded-virtual -Wnon-virtual-dtor -Werror )
|
-Wold-style-cast -Woverloaded-virtual -Wnon-virtual-dtor -Werror )
|
||||||
|
if ( NOT WIN32 )
|
||||||
add_definitions( -fvisibility=hidden )
|
add_definitions( -fvisibility=hidden )
|
||||||
|
endif()
|
||||||
# to be added:
|
# to be added:
|
||||||
# -Wshadow
|
# -Wshadow
|
||||||
# FIXME we might want this one back in, but Qt 4.4.3 spits gazillions of warnings with it on Linux-64:
|
# FIXME we might want this one back in, but Qt 4.4.3 spits gazillions of warnings with it on Linux-64:
|
||||||
|
1
3rdparty/libechonest/Parsing_p.h
vendored
1
3rdparty/libechonest/Parsing_p.h
vendored
@ -85,3 +85,4 @@ namespace Parser
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
1
3rdparty/libechonest/Util.cpp
vendored
1
3rdparty/libechonest/Util.cpp
vendored
@ -47,3 +47,4 @@ QString Echonest::statusToString(Echonest::Analysis::AnalysisStatus status)
|
|||||||
}
|
}
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user