* [v3] Mini-tweak to acinclude.m4
@ 2014-05-08 0:53 Paolo Carlini
0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2014-05-08 0:53 UTC (permalink / raw)
To: gcc-patches; +Cc: libstdc++
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
Hi,
I don't think we have any reason to trigger a -Wwrite-strings warning,
thus, barring objections, I'm going to commit the below.
Thanks,
Paolo.
///////////////////////
[-- Attachment #2: CL --]
[-- Type: text/plain, Size: 152 bytes --]
2014-05-08 Paolo Carlini <paolo.carlini@oracle.com>
* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.
* configure: Regenerate.
[-- Attachment #3: patchlet --]
[-- Type: text/plain, Size: 486 bytes --]
Index: acinclude.m4
===================================================================
--- acinclude.m4 (revision 210183)
+++ acinclude.m4 (working copy)
@@ -1052,8 +1052,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [
vscanf("%i", args);
vsnprintf(fmt, 0, "%i", args);
vsscanf(fmt, "%i", args);
- }],
- [snprintf("12", 0, "%i");],
+ snprintf(fmt, 0, "%i");
+ }], [],
[glibcxx_cv_c99_stdio=yes], [glibcxx_cv_c99_stdio=no])
])
AC_MSG_RESULT($glibcxx_cv_c99_stdio)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-08 0:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08 0:53 [v3] Mini-tweak to acinclude.m4 Paolo Carlini
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).