replace remaining warning macros with pragma message

This commit is contained in:
Andre Puschmann 2019-07-23 11:09:23 +02:00
parent 09610ce788
commit e0bd7f156d
7 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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

View File

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

View File

@ -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

View File

@ -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++){

View File

@ -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
/*********************************************/

View File

@ -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
/*********************************************/