acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.
2014-05-08 Paolo Carlini <paolo.carlini@oracle.com> * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning. * configure: Regenerate. From-SVN: r210206
This commit is contained in:
parent
861c349582
commit
a3820abe7c
@ -1,3 +1,8 @@
|
||||
2014-05-08 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.
|
||||
* configure: Regenerate.
|
||||
|
||||
2014-05-07 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/61023
|
||||
|
@ -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)
|
||||
|
6
libstdc++-v3/configure
vendored
6
libstdc++-v3/configure
vendored
@ -16900,11 +16900,12 @@ else
|
||||
vscanf("%i", args);
|
||||
vsnprintf(fmt, 0, "%i", args);
|
||||
vsscanf(fmt, "%i", args);
|
||||
snprintf(fmt, 0, "%i");
|
||||
}
|
||||
int
|
||||
main ()
|
||||
{
|
||||
snprintf("12", 0, "%i");
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
@ -16930,11 +16931,12 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
vscanf("%i", args);
|
||||
vsnprintf(fmt, 0, "%i", args);
|
||||
vsscanf(fmt, "%i", args);
|
||||
snprintf(fmt, 0, "%i");
|
||||
}
|
||||
int
|
||||
main ()
|
||||
{
|
||||
snprintf("12", 0, "%i");
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user