delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/23/14:39:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sat, 23 May 2015 14:39:00 -0400
Message-Id: <201505231839.t4NId05i019194@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to:
<CAA2C=vChvK1sAzRoqMGkgdCeuNbj--v6bzkcjeaT0T8dEk88Mg AT mail DOT gmail DOT com>
(djgpp AT delorie DOT com)
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com> <CAA2C=vChvK1sAzRoqMGkgdCeuNbj--v6bzkcjeaT0T8dEk88Mg AT mail DOT gmail DOT com>
Errors-To: nobody AT delorie DOT com

> -        va_arg(argp, int);  /* discard */
> +        _ulonglong = va_arg(argp, int);  /* discard */

Can we use (void)va_arg(...) instead, so the compiler doesn't ever
warn about (or try to optimize) an unused value?  Or was the warning
about an uninitialized variable?

- Raw text -


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