replace remaining warning macros with pragma message

master
Andre Puschmann 6 years ago
parent 09610ce788
commit e0bd7f156d

@ -41,7 +41,7 @@
#include "srslte/phy/common/phy_common.h"
srslte_rf_t rf;
#else
#warning Compiling pdsch_ue with no RF support
#pragma message "Compiling pdsch_ue with no RF support"
#endif
char *output_file_name = NULL;

@ -51,7 +51,7 @@ cell_search_cfg_t cell_detect_config = {.max_frames_pbch = SRSLTE_DEFAULT_M
.force_tdd = false};
#else
#warning Compiling pdsch_ue with no RF support
#pragma message "Compiling pdsch_ue with no RF support"
#endif
//#define STDOUT_COMPACT

@ -43,7 +43,7 @@
#define input_is_interleaved (h->current_dec > 0)
#define type_name _16bit
#else
#warning "Unsupported LLR mode"
#pragma message "Unsupported LLR mode"
#endif
#endif

@ -33,7 +33,7 @@
#include "srslte/phy/utils/vector.h"
#ifdef DEBUG_MODE
#warning FIXME: Disabling SSE/AVX turbo rate matching
#pragma message "FIXME: Disabling SSE/AVX turbo rate matching"
#undef LV_HAVE_SSE
#undef LV_HAVE_AVX
#endif

@ -485,7 +485,7 @@ void srslte_vec_convert_fb_simd(const float *x, int8_t *z, const float scale, co
#endif
#ifdef HAVE_NEON
#warning srslte_vec_convert_fb_simd not implemented in neon
#pragma message "srslte_vec_convert_fb_simd not implemented in neon"
#endif /* HAVE_NEON */
for(; i < len; i++){

@ -58,7 +58,7 @@ pthread_t plot_thread;
sem_t plot_sem;
static int plot_worker_id = -1;
#else
#warning Compiling without srsGUI support
#pragma message "Compiling without srsGUI support"
#endif
/*********************************************/

@ -48,7 +48,7 @@ pthread_t plot_thread;
sem_t plot_sem;
static int plot_worker_id = -1;
#else
#warning Compiling without srsGUI support
#pragma message "Compiling without srsGUI support"
#endif
/*********************************************/

Loading…
Cancel
Save