diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-06-24 16:44:17 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-06-24 16:44:17 +0100 |
commit | 3fa591d4b43316e7b7f8d46781793d96893d3374 (patch) | |
tree | 925ed0ed8aba10b6641c82ab064af95daca6b0d9 /libstdc++-v3/include/bits/functexcept.h | |
parent | 8d37375b0541d879b371b355c2ff5d57ddfcd53e (diff) | |
download | gcc-3fa591d4b43316e7b7f8d46781793d96893d3374.zip gcc-3fa591d4b43316e7b7f8d46781793d96893d3374.tar.gz gcc-3fa591d4b43316e7b7f8d46781793d96893d3374.tar.bz2 |
functexcept.h (__throw_out_of_range_fmt): Change attribute to __gnu_printf__ archetype to prevent warnings for "%zu".
* include/bits/functexcept.h (__throw_out_of_range_fmt): Change
attribute to __gnu_printf__ archetype to prevent warnings for "%zu".
* include/bits/locale_facets_nonio.tcc (time_get::do_get_weekday):
Remove unused typedef.
(time_get::do_get_monthname): Likewise.
* include/bits/stl_tree.h: Add system_header pragma.
* include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): Remove
redundant const-qualifier.
* include/std/complex (complex::__rep): Use _GLIBCXX_CONSTEXPR macro
instead of _GLIBCXX_USE_CONSTEXPR.
From-SVN: r211951
Diffstat (limited to 'libstdc++-v3/include/bits/functexcept.h')
-rw-r--r-- | libstdc++-v3/include/bits/functexcept.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/functexcept.h b/libstdc++-v3/include/bits/functexcept.h index b8359f9..48be255 100644 --- a/libstdc++-v3/include/bits/functexcept.h +++ b/libstdc++-v3/include/bits/functexcept.h @@ -76,7 +76,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION void __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__)) - __attribute__((__format__(__printf__, 1, 2))); + __attribute__((__format__(__gnu_printf__, 1, 2))); void __throw_runtime_error(const char*) __attribute__((__noreturn__)); |