Index: trunk/Ohana/src/libohana/include/ohana.h
===================================================================
--- trunk/Ohana/src/libohana/include/ohana.h	(revision 40291)
+++ trunk/Ohana/src/libohana/include/ohana.h	(revision 40549)
@@ -79,4 +79,11 @@
   struct timeval startTimer, stopTimer; \
   gettimeofday (&startTimer, (void *) NULL);
+
+// several snprintf statements below my truncate their output
+// gcc (since 8.1) warns if the output may be truncated.
+// If we do not care, the following snprintf_nowarn can
+// replace these snprintf calls. (myNOOP in string.c)
+
+# define snprintf_nowarn(...) (snprintf(__VA_ARGS__) < 0 ? myNOOP() : 0)
 
 #ifdef __GNUC__
@@ -314,4 +321,5 @@
 char   *getword                PROTO((char *string));
 char   *skipword               PROTO((char *string));
+void    myNOOP                 PROTO((void));
 
 /* in findexec.c */
