replace remaining warning macros with pragma message

master
Andre Puschmann 5 years ago
parent 09610ce788
commit e0bd7f156d

@ -41,7 +41,7 @@
#include "srslte/phy/common/phy_common.h" #include "srslte/phy/common/phy_common.h"
srslte_rf_t rf; srslte_rf_t rf;
#else #else
#warning Compiling pdsch_ue with no RF support #pragma message "Compiling pdsch_ue with no RF support"
#endif #endif
char *output_file_name = NULL; 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}; .force_tdd = false};
#else #else
#warning Compiling pdsch_ue with no RF support #pragma message "Compiling pdsch_ue with no RF support"
#endif #endif
//#define STDOUT_COMPACT //#define STDOUT_COMPACT

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

@ -33,7 +33,7 @@
#include "srslte/phy/utils/vector.h" #include "srslte/phy/utils/vector.h"
#ifdef DEBUG_MODE #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_SSE
#undef LV_HAVE_AVX #undef LV_HAVE_AVX
#endif #endif

@ -485,7 +485,7 @@ void srslte_vec_convert_fb_simd(const float *x, int8_t *z, const float scale, co
#endif #endif
#ifdef HAVE_NEON #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 */ #endif /* HAVE_NEON */
for(; i < len; i++){ for(; i < len; i++){

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

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

Loading…
Cancel
Save