This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/64862] printf attribute should accept other string types
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Jan 2015 17:40:39 +0000
- Subject: [Bug c/64862] printf attribute should accept other string types
- Auto-submitted: auto-generated
- References: <bug-64862-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64862
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
glibc has this in <wchar.h>:
extern int wprintf (const wchar_t *__restrict __format, ...)
/* __attribute__ ((__format__ (__wprintf__, 1, 2))) */;