소스 검색

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;