[X2Go-Commits] [nx-libs] 24/54: Fix: clang does not know about	gnu_printf
    git-admin at x2go.org 
    git-admin at x2go.org
       
    Sun Mar 24 10:05:02 CET 2019
    
    
  
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit 471342933b19bb0648d4f339be6e160545013f51
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Fri Jan 18 22:10:54 2019 +0100
    Fix: clang does not know about gnu_printf
    
    Found via Travis CI
---
 nxcompshad/src/Logger.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/nxcompshad/src/Logger.h b/nxcompshad/src/Logger.h
index 876cb04..e0b9997 100644
--- a/nxcompshad/src/Logger.h
+++ b/nxcompshad/src/Logger.h
@@ -46,17 +46,17 @@ class Logger
 {
   public:
 
-  void user(const char *format, ...) __attribute__((format(gnu_printf, 2, 3)));
+  void user(const char *format, ...) __attribute__((format(printf, 2, 3)));
 
   void error(const char *name, int error);
 
-  void warning(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
+  void warning(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4)));
 
-  void test(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
+  void test(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4)));
 
   void trace(const char *name);
 
-  void debug(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
+  void debug(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4)));
 
   void dump(const char *name, const char *data, int size);
 };
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
    
    
More information about the x2go-commits
mailing list