diff options
author | Jakub Jelinek <jakub@redhat.com> | 2000-10-16 09:41:01 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2000-10-16 09:41:01 +0200 |
commit | 50e29dd80f712ae459c344a1e1a3847a806afe40 (patch) | |
tree | e21ab1bc3cb3278f8fd10aa9ed3f6aeb163490b9 /libio/iostream.cc | |
parent | 60ade93537a76bab782079617dc19c6a891fe2af (diff) | |
download | gcc-50e29dd80f712ae459c344a1e1a3847a806afe40.zip gcc-50e29dd80f712ae459c344a1e1a3847a806afe40.tar.gz gcc-50e29dd80f712ae459c344a1e1a3847a806afe40.tar.bz2 |
iostream.cc (ostream::operator<<(double n)): Initialize new fields wide and i18n of struct printf_info.
* iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]:
Initialize new fields wide and i18n of struct printf_info.
(ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 2]:
Likewise.
From-SVN: r36876
Diffstat (limited to 'libio/iostream.cc')
-rw-r--r-- | libio/iostream.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libio/iostream.cc b/libio/iostream.cc index 31fafcb..1f29431 100644 --- a/libio/iostream.cc +++ b/libio/iostream.cc @@ -1,5 +1,5 @@ /* This is part of libio/iostream, providing -*- C++ -*- input/output. - Copyright (C) 1993, 1997 Free Software Foundation, Inc. + Copyright (C) 1993, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or modify it under the @@ -687,6 +687,10 @@ ostream& ostream::operator<<(double n) /* extra: */ 0, #if __GLIBC_MINOR__ >= 1 /* is_char: */ 0, +#if __GLIBC_MINOR__ >= 2 + /* wide: */ 0, + /* i18n: */ 0, +#endif #endif #endif /* pad: */ fill() @@ -793,6 +797,10 @@ ostream& ostream::operator<<(long double n) /* extra: */ 0, #if __GLIBC_MINOR__ >= 1 /* is_char: */ 0, +#if __GLIBC_MINOR__ >= 2 + /* wide: */ 0, + /* i18n: */ 0, +#endif #endif #endif /* pad: */ fill() |