Commit a626f82f authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

Suppression warnind deprecated

parent 85dc8c13
......@@ -806,11 +806,14 @@ Set decoding parameters to default values
OPJ_API void OPJ_CALLCONV opj_set_default_decoder_parameters(opj_dparameters_t *parameters);
#ifdef USE_OPJ_DEPRECATED
#ifdef _MSC_VER
#pragma message ( "warning, opj_setup_decoder is deprecated")
#else
#warning "warning, opj_setup_decoder is deprecated"
#endif
// Modif OTB-Dev, suppress warning deprecated, due to improper use of opj_setup_encoder
//#ifdef _MSC_VER
//#pragma message ( "warning, opj_setup_decoder is deprecated")
//#else
//#warning "warning, opj_setup_decoder is deprecated"
//#endif
/**
Setup the decoder decoding parameters using user parameters.
Decoding parameters are returned in j2k->cp.
......@@ -990,11 +993,14 @@ OPJ_API OPJ_BOOL OPJ_CALLCONV opj_set_MCT(opj_cparameters_t *parameters,OPJ_FLOA
OPJ_API OPJ_BOOL OPJ_CALLCONV opj_restrict_decoding (opj_dparameters_t *parameters,OPJ_INT32 p_start_x,OPJ_INT32 p_start_y,OPJ_INT32 p_end_x,OPJ_INT32 p_end_y);
#ifdef USE_OPJ_DEPRECATED
#ifdef _MSC_VER
#pragma message ("warning, opj_setup_encoder is deprecated")
#else
#warning "warning, opj_setup_encoder is deprecated"
#endif
// Modif OTB-Dev, suppress warning deprecated, due to improper use of opj_setup_encoder
//#ifdef _MSC_VER
//#pragma message ("warning, opj_setup_encoder is deprecated")
//#else
//#warning "warning, opj_setup_encoder is deprecated"
//#endif
/**
Setup the encoder parameters using the current image and using user parameters.
@param cinfo Compressor handle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment