Signed-off-by: falkTX <falktx@falktx.com>tags/v2.1-rc1
@@ -3,7 +3,7 @@ | |||||
set -e | set -e | ||||
# Preparation | # Preparation | ||||
_FLAGS="-Wno-attributes -Wno-deprecated-declarations -Werror" | |||||
_FLAGS="-Wno-attributes -Wno-deprecated-declarations -Werror -DBUILDING_FOR_CI" | |||||
export CFLAGS="${_FLAGS}" | export CFLAGS="${_FLAGS}" | ||||
export CXXFLAGS="${_FLAGS}" | export CXXFLAGS="${_FLAGS}" | ||||
export MACOS_OLD=true | export MACOS_OLD=true | ||||
@@ -3,7 +3,7 @@ | |||||
set -e | set -e | ||||
# Preparation | # Preparation | ||||
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror" | |||||
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror -DBUILDING_FOR_CI" | |||||
_PREFIX=i686-w64-mingw32 | _PREFIX=i686-w64-mingw32 | ||||
export AR=${_PREFIX}-ar | export AR=${_PREFIX}-ar | ||||
export CC=${_PREFIX}-gcc | export CC=${_PREFIX}-gcc | ||||
@@ -3,7 +3,7 @@ | |||||
set -e | set -e | ||||
# Preparation | # Preparation | ||||
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror" | |||||
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror -DBUILDING_FOR_CI" | |||||
_PREFIX=x86_64-w64-mingw32 | _PREFIX=x86_64-w64-mingw32 | ||||
export AR=${_PREFIX}-ar | export AR=${_PREFIX}-ar | ||||
export CC=${_PREFIX}-gcc | export CC=${_PREFIX}-gcc | ||||
@@ -83,7 +83,8 @@ template <FileType fileType> | |||||
class NativePluginWithMidiPrograms : public NativePluginClass | class NativePluginWithMidiPrograms : public NativePluginClass | ||||
{ | { | ||||
public: | public: | ||||
typedef SharedResourcePointer<NativePluginPresetManager<fileType>> NativeMidiPrograms; | |||||
typedef NativePluginPresetManager<fileType> NativePluginPresetManagerType; | |||||
typedef SharedResourcePointer<NativePluginPresetManagerType> NativeMidiPrograms; | |||||
NativePluginWithMidiPrograms(const NativeHostDescriptor* const host, | NativePluginWithMidiPrograms(const NativeHostDescriptor* const host, | ||||
const NativeMidiPrograms& programs, | const NativeMidiPrograms& programs, | ||||
@@ -32,8 +32,10 @@ static const char* const audiofilesWildcard = | |||||
# endif | # endif | ||||
#endif | #endif | ||||
#if !defined(HAVE_SNDFILE) && !defined(HAVE_FFMPEG) | #if !defined(HAVE_SNDFILE) && !defined(HAVE_FFMPEG) | ||||
# warning sndfile and ffmpeg libraries missing, no audio file support will be available | |||||
"" | "" | ||||
# ifndef BUILDING_FOR_CI | |||||
# warning sndfile and ffmpeg libraries missing, no audio file support will be available | |||||
# endif | |||||
#endif | #endif | ||||
; | ; | ||||