-
Notifications
You must be signed in to change notification settings - Fork 176
Description
Hi,
I tried on Mageia Linux Cauldron to build latest 1.2.0 release but it fails to build with an error "format not a string literal":
/home/david/mgarepo/hydrogen/BUILD/hydrogen-1.2.0/src/core/Logger.cpp:58:32: error: format not a string literal and no format arguments [-Werror=format-security]
58 | fprintf( stderr,
| ~~~~~~~^~~~~~~~~
59 | QString( "Error: can't open log file [%1] for writing...\n" )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | .arg( logger->m_sLogFilePath ).toLocal8Bit().data() );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
gmake[2]: *** [src/core/CMakeFiles/hydrogen-core-1.2.0.dir/build.make:737: src/core/CMakeFiles/hydrogen-core-1.2.0.dir/Logger.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Attached full build log
log.hydrogen.txt