mirror of https://github.com/PentHertz/srsLTE.git
convert #warning macro to pragma to avoid compile error
This commit is contained in:
parent
c145d80547
commit
0b756ac27d
|
@ -52,7 +52,7 @@ const uint8_t dummy_sib1_payload[] = {0x43, 0x4d, 0xd0, 0x92, 0x22, 0x06, 0x04,
|
|||
#include "srslte/phy/rf/rf.h"
|
||||
srslte_rf_t rf;
|
||||
#else
|
||||
#warning Compiling npdsch_ue with no RF support
|
||||
#pragma message "Compiling npdsch_ue with no RF support"
|
||||
#endif
|
||||
|
||||
char* output_file_name = NULL;
|
||||
|
|
|
@ -60,7 +60,7 @@ cell_search_cfg_t cell_detect_config = {.max_frames_pbch = SRSLTE_DEFAULT_M
|
|||
.force_tdd = false};
|
||||
|
||||
#else
|
||||
#warning Compiling npdsch_ue with no RF support
|
||||
#pragma message "Compiling npdsch_ue with no RF support"
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_GUI
|
||||
|
|
Loading…
Reference in New Issue