File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ void tvconv_checkReInit(void* const hTVCnv)
204204{
205205 tvconv_data * pData = (tvconv_data * )(hTVCnv );
206206
207- while (pData -> procStatus == CODEC_STATUS_INITIALISING ){
207+ while (pData -> procStatus == /* FIXME: this comparison between different enum types is surely wrong? */ ( PROC_STATUS ) CODEC_STATUS_INITIALISING ){
208208 SAF_SLEEP (10 );
209209 }
210210 /* reinitialise if needed */
Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ elseif(APPLE AND ${SAF_PERFORMANCE_LIB} MATCHES "SAF_USE_APPLE_ACCELERATE")
172172 target_compile_definitions (${PROJECT_NAME} PUBLIC SAF_USE_APPLE_ACCELERATE=1)
173173 target_link_libraries (${PROJECT_NAME} PUBLIC "-framework Accelerate" )
174174
175+ # These are just because of zlib
176+ target_compile_options (${PROJECT_NAME} PRIVATE -Wno-macro-redefined -Wno-strict-prototypes)
175177else ()
176178 message (SEND_ERROR "The specified SAF_PERFORMANCE_LIB is not supported" )
177179
You can’t perform that action at this time.
0 commit comments