-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Paul Eggert on 10/19/2006 3:44 PM: > You can safely ignore that diagnostic. Line 82 looks like this, right? > > ap->a.a_wide_char = > (sizeof (wint_t) < sizeof (int) > ? va_arg (args, int) > : va_arg (args, wint_t)); > > I assume that sizeof (wint_t) < sizeof (int) on your platform (please > check this, though), so the diagnostic is about the va_arg (args, > wint_t) subexpression that is never executed. Newer GCC versions get > this right, and avoid generating the diagnostic in subexpressions that > are not executed. Or maybe you just need to compile with -O.
That seems odd to me. On cygwin, sizeof (wchar_t) is 2, but sizeof (wint_t) sizeof (int) are 4. And I assume the same is true for mingw, since they are based on the same underlying OS. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFOP5D84KuGfSFAYARArIOAJ0Y4zhMt9mLO/AbvadPGDUv2FA0IQCfWFV0 4s4OLH9kATLscAAHjAOKoJY= =VkeC -----END PGP SIGNATURE-----