diff --git a/veejay-current/veejay-server/configure.ac b/veejay-current/veejay-server/configure.ac index 0d695915..1dcaf0b1 100644 --- a/veejay-current/veejay-server/configure.ac +++ b/veejay-current/veejay-server/configure.ac @@ -932,7 +932,7 @@ if test "x$enable_compile_warnings" != "xno" ; then *) warnCFLAGS="" ;; esac if test "x$enable_compile_warnings" = "xyes" ; then - warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wundef -Wshadow -Wbad-function-cast -Wconversion -Wpadded -Wunreachable-code -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual" + warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wundef -Wshadow -Wbad-function-cast -Wconversion -Wpadded -Wunreachable-code -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Wall" warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual" fi if test "x$enable_warnings_as_errors" = "xyes" ; then diff --git a/veejay-current/veejay-server/libplugger/freeframe-loader.c b/veejay-current/veejay-server/libplugger/freeframe-loader.c index 85b277db..963f8f87 100644 --- a/veejay-current/veejay-server/libplugger/freeframe-loader.c +++ b/veejay-current/veejay-server/libplugger/freeframe-loader.c @@ -252,7 +252,7 @@ void freeframe_plug_retrieve_default_values( void *instance, void *fx_values ) { void *base = NULL; int error = vevo_property_get( instance, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif @@ -276,7 +276,7 @@ void freeframe_plug_retrieve_current_values( void *instance, void *fx_values ) { void *base = NULL; int error = vevo_property_get( instance, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif @@ -307,7 +307,7 @@ void freeframe_reverse_clone_parameter( void *instance, int seq, void *fx_values { void *base = NULL; int error = vevo_property_get( instance, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif @@ -340,7 +340,7 @@ void freeframe_clone_parameter( void *instance, int seq, void *fx_values ) // put fx_values to freeframe void *base = NULL; int error = vevo_property_get( instance, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); assert(0); //@ this function must be dropped #endif @@ -384,7 +384,7 @@ void *freeframe_plug_init( void *plugin, int w, int h ) void *base = NULL; int error = vevo_property_get( plugin, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif @@ -496,7 +496,7 @@ void freeframe_plug_deinit( void *plugin ) { void *base = NULL; int error = vevo_property_get( plugin, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == VEVO_NO_ERROR ); #endif plugMainType *q = (plugMainType*) base; @@ -527,7 +527,7 @@ void freeframe_plug_free( void *plugin ) int n = 0; void *base = NULL; int error = vevo_property_get( plugin, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif plugMainType *q = (plugMainType*) base; @@ -573,19 +573,19 @@ int freeframe_plug_process( void *plugin, double timecode ) { void *base = NULL; int error = vevo_property_get( plugin, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif plugMainType *q = (plugMainType*) base; int instance = 0; error = vevo_property_get( plugin, "instance",0, &instance ); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif uint8_t *space = NULL; error = vevo_property_get( plugin, "HOST_buffer",0,&space ); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif @@ -594,7 +594,7 @@ int freeframe_plug_process( void *plugin, double timecode ) VJFrame *output_frame = NULL; error = vevo_property_get( plugin, "HOST_output", 0,&output_frame ); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif @@ -637,13 +637,14 @@ void freeframe_plug_param_f( void *plugin, int seq_no, void *dargs ) void *base = NULL; error = vevo_property_get( plugin, "base", 0, &base); -#ifdef STRICT_CHECING +#ifdef STRICT_CHECKING assert( error == LIVIDO_NO_ERROR ); #endif int instance = 0; error = vevo_property_get( plugin, "instance", 0, &instance ); +#ifdef STRICT_CHECKING assert( error == VEVO_NO_ERROR ); - +#endif plugMainType *q = (plugMainType*) base; q( FF_SETPARAMETER, &sps, instance ); diff --git a/veejay-current/veejay-server/libplugger/plugload.c b/veejay-current/veejay-server/libplugger/plugload.c index 14b2d5b8..b4b5958b 100644 --- a/veejay-current/veejay-server/libplugger/plugload.c +++ b/veejay-current/veejay-server/libplugger/plugload.c @@ -48,8 +48,9 @@ #include #include #include - +#ifdef STRICT_CHECKING #include +#endif #include #include #include diff --git a/veejay-current/veejay-server/libvje/vj-effman.c b/veejay-current/veejay-server/libvje/vj-effman.c index feca8284..ab58ae06 100644 --- a/veejay-current/veejay-server/libvje/vj-effman.c +++ b/veejay-current/veejay-server/libvje/vj-effman.c @@ -17,9 +17,6 @@ * */ #include -#ifdef STRICT_CHECKING -#include -#endif #include #include #include @@ -29,6 +26,10 @@ #include #include #include +#ifdef STRICT_CHECKING +#include +#endif + extern vj_effect *vj_effects[]; #define VEVO_PLUG_LIVIDO 0xffaa