ARPA-SIMC / elaboradar

Library and tools to handle weather radar images and data (ODIMH5 and SP20)
GNU General Public License v2.0
3 stars 1 forks source link

[Fedora 24] Errori in formattazione log #13

Closed brancomat closed 8 years ago

brancomat commented 8 years ago
In file included from ../include/cum_bac.h:12:0,
                 from elaboradar.cpp:12:
elaboradar.cpp: In function 'void startup_banner(CUM_BAC_CLOPT*)':
../radarelab/logging.h:19:92: error: format not a string literal and no format arguments [-Werror=format-security]
 #define LOG_INFO(...) log4c_category_log(logging_category, LOG4C_PRIORITY_INFO, __VA_ARGS__)
                                                                                            ^
elaboradar.cpp:92:5: note: in expansion of macro 'LOG_INFO'
     LOG_INFO(FlagRunTime.c_str());
     ^~~~~~~~
cc1plus: some warnings being treated as errors
Makefile:585: recipe for target 'elaboradar.o' failed
make[1]: *** [elaboradar.o] Error 1
spanezz commented 8 years ago

Fatto in f08783e161e93c702c11b7c0387f7914bf631517