浏览代码

Remove attributes causing build failures on various platforms (#1587)

Joseph Henry 3 年之前
父节点
当前提交
db8443ef7d
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      node/Bond.hpp

+ 0 - 6
node/Bond.hpp

@@ -1143,9 +1143,6 @@ class Bond {
 	 */
 	void log(const char* fmt, ...)
 	{
-#ifdef __GNUC__
-		__attribute__((format(printf, 2, 3)))
-#endif
 #ifdef ZT_TRACE
 		time_t rawtime;
 		struct tm* timeinfo;
@@ -1175,9 +1172,6 @@ class Bond {
 	 */
 	void debug(const char* fmt, ...)
 	{
-#ifdef __GNUC__
-		__attribute__((format(printf, 2, 3)))
-#endif
 #ifdef ZT_DEBUG
 		time_t rawtime;
 		struct tm* timeinfo;