bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: bug-gnulib@gnu.org
Subject: vasnprintf.c Android bug?
Date: Wed, 25 Jan 2023 11:13:56 +0800	[thread overview]
Message-ID: <87a627487f.fsf@yahoo.com> (raw)
In-Reply-To: 87a627487f.fsf.ref@yahoo.com

With the build API version set to 21 on the NDK r26b, vasnprintf.c needs
to include:

#include <wchar.h>

or else it cannot find mbstate_t.  In addition, this warning is still
emitted by Clang:

 ANDROID_CC   vasnprintf.o
vasnprintf.c:2416:21: warning: variable 'flags' set but not used [-Wunused-but-set-variable]
                int flags = dp->flags;

       reply	other threads:[~2023-01-25  3:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87a627487f.fsf.ref@yahoo.com>
2023-01-25  3:13 ` Po Lu [this message]
2023-01-25 12:44   ` vasnprintf.c Android bug? Bruno Haible
2023-01-25 13:13     ` Po Lu
2023-01-28 18:42   ` Bruno Haible

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a627487f.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=bug-gnulib@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).