delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/23/04:38:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=y7oAl4GSE75QRulmQ5QGiBkOaZiz8WeG9B7likBensI=;
b=wi6/SukPiI0fB41LVIYZ3y/AT5auDYCaksQ9XQBNZ1fkbzRM6A2tPwdkVC/KeojFDU
AmutPh9N+xGSLu+oQ1Ors22dcMP9XsM1b6o8Wu5Gm/SYIFs5V5ZqHd6spm9WS5donqX8
cUdEJPfbtkPK+CwqzWk9b1HFWQSaGCvKQcviLMi4uO+PnA0vj2lI2v5KgtMaH9kVcYb+
RqnqGz047Z6SV7pCD+UFiIu7+ne3c7tX1wLTDamcxyeg92EX5X02jbULVRlvw05wiRme
hi7GJSgwHk5r2XL7HXAcGonJeSA+iSRK5Zs8vjFIsEe4ijDgtS/YysHsSeGzJCtCaRWI
vrdw==
MIME-Version: 1.0
X-Received: by 10.50.61.229 with SMTP id t5mr10711779igr.34.1432370295953;
Sat, 23 May 2015 01:38:15 -0700 (PDT)
In-Reply-To: <201505042003.t44K3odg011007@delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
Date: Sat, 23 May 2015 11:38:15 +0300
Message-ID: <CAA2C=vChvK1sAzRoqMGkgdCeuNbj--v6bzkcjeaT0T8dEk88Mg@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Applied the following to doprnt.c:

* doprnt.c: avoid unused warnings from gcc2

Index: doprnt.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/ansi/stdio/doprnt.c,v
retrieving revision 1.37
diff -u -r1.37 doprnt.c
--- doprnt.c	23 May 2015 08:35:29 -0000	1.37
+++ doprnt.c	23 May 2015 08:37:04 -0000
@@ -1374,7 +1374,7 @@
         return argp;
       if (prec_index == list_index)
       {
-        va_arg(argp, int);  /* discard */
+        _ulonglong = va_arg(argp, int);  /* discard */
         list_index++;
       }
       goto rflag;
@@ -1387,7 +1387,7 @@
           return argp;
         if (prec_index == list_index)
         {
-          va_arg(argp, int);  /* discard */
+          _ulonglong = va_arg(argp, int);  /* discard */
           list_index++;
         }
       }
@@ -1422,7 +1422,7 @@
         return argp;
       if (arg_index == list_index)
       {
-        va_arg(argp, int);  /* discard */
+        _ulonglong = va_arg(argp, int);  /* discard */
         list_index++;
       }
       break;
@@ -1445,9 +1445,9 @@
       if (arg_index == list_index)
       {
         if (flags & LONGDBL)
-          va_arg(argp, long double);  /* discard */
+          _ulonglong = va_arg(argp, long double);  /* discard */
         else
-          va_arg(argp, double);  /* discard */
+          _ulonglong = va_arg(argp, double);  /* discard */
         list_index++;
       }
       break;
@@ -1468,7 +1468,7 @@
         return argp;
       if (arg_index == list_index)
       {
-        va_arg(argp, void *);  /* discard */
+        _ulonglong = (size_t) va_arg(argp, void *);  /* discard */
         list_index++;
       }
       break;

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019