a2780b3
diff -Naur giada-0.17.1-src-original/src/utils/log.h giada-0.17.1-src/src/utils/log.h
a2780b3
--- giada-0.17.1-src-original/src/utils/log.h	2021-02-01 12:41:42.000000000 -0500
a2780b3
+++ giada-0.17.1-src/src/utils/log.h	2021-02-19 15:59:03.741888609 -0500
a2780b3
@@ -84,6 +84,8 @@
a2780b3
 
a2780b3
 	if (mode == LOG_MODE_FILE && stat == true) {
a2780b3
 		// Replace any std::string in the arguments by its C-string
a2780b3
+#pragma GCC diagnostic push
a2780b3
+#pragma GCC diagnostic ignored "-Wformat-security"
a2780b3
 		std::fprintf(f, format, string_to_c_str(std::forward<Args>(args))...);
a2780b3
 #ifdef _WIN32
a2780b3
 		fflush(f);
a2780b3
@@ -91,6 +93,7 @@
a2780b3
 	}
a2780b3
 	else
a2780b3
 		std::printf(format, string_to_c_str(std::forward<Args>(args))...);
a2780b3
+#pragma GCC diagnostic pop
a2780b3
 }
a2780b3
 } // giada::u::log
a2780b3