summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/c_std/cstdio
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 17:41:33 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 17:41:33 +0000
commit2f1c2b417a5b96cb59459c6f4d876bd68c0d406b (patch)
tree0654c2f6558540115574a93c5923fb3c1bc8f5f7 /libstdc++-v3/include/c_std/cstdio
parentdbb1dd1eae7d8122e21bce4fe81a24f22fec475f (diff)
downloadppe42-gcc-2f1c2b417a5b96cb59459c6f4d876bd68c0d406b.tar.gz
ppe42-gcc-2f1c2b417a5b96cb59459c6f4d876bd68c0d406b.zip
* include/c_std/cstdlib (abort, exit, _Exit): Mark noreturn throw ().
(atexit, atoll, stroll, strtoull): Mark throw () * include/c_std/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). * include/c_std/cwchar (wcstold, wcstoll, wcstoull): Mark throw (). * include/c_global/cstdlib (abort, exit, _Exit): Mark noreturn throw (). (atexit, atoll, stroll, strtoull): Mark throw () * include/c_global/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). * include/c_wchar/cstdio (snprintf, vsnprintf, vscanf): Mark throw (). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146604 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/cstdio')
-rw-r--r--libstdc++-v3/include/c_std/cstdio8
1 files changed, 5 insertions, 3 deletions
diff --git a/libstdc++-v3/include/c_std/cstdio b/libstdc++-v3/include/c_std/cstdio
index 2ec91610524..c25b1b1a1f5 100644
--- a/libstdc++-v3/include/c_std/cstdio
+++ b/libstdc++-v3/include/c_std/cstdio
@@ -151,14 +151,16 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
#if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
extern "C" int
- (snprintf)(char * restrict, size_t, const char * restrict, ...);
+ (snprintf)(char * restrict, size_t, const char * restrict, ...) throw ();
extern "C" int
(vfscanf)(FILE * restrict, const char * restrict, __gnuc_va_list);
extern "C" int (vscanf)(const char * restrict, __gnuc_va_list);
extern "C" int
- (vsnprintf)(char * restrict, size_t, const char * restrict, __gnuc_va_list);
+ (vsnprintf)(char * restrict, size_t, const char * restrict, __gnuc_va_list)
+ throw ();
extern "C" int
- (vsscanf)(const char * restrict, const char * restrict, __gnuc_va_list);
+ (vsscanf)(const char * restrict, const char * restrict, __gnuc_va_list)
+ throw ();
#endif
#if !_GLIBCXX_USE_C99_DYNAMIC
OpenPOWER on IntegriCloud