This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[Q] std c++ header files and egcs-1.1.2
- To: egcs at egcs dot cygnus dot com, egcs-bugs at egcs dot cygnus dot com
- Subject: [Q] std c++ header files and egcs-1.1.2
- From: Miljenko Moljac Cvjetko <m dot cvjetko at rt dot e-technik dot uni-erlangen dot de>
- Date: Wed, 09 Jun 1999 06:03:39 +0200
- Organization: gcl++ Library Development Lehrstuhl fuer Regelungstechnik Universitaet Erlangen-Nuernberg
- Reply-To: m dot cvjetko at rt dot e-technik dot uni-erlangen dot dot de
/*
newsgroups:
comp.lang.c++
mailing lists:
egcs@cygnus.com
egcs-bugs@cygnus.com
[Q] std c++ header files and egcs-1.1.2
Hi!
I have noticed that some stdc++ header files in egcs-1.1.2 are
missing...
or am I wrong??
I'd like to submit a "workaround" (as attachment) for some of
those missing files for example
istream
ostream
streambuf
there' are no files w/o .h extension as it should be.
I hope it could help
miljenko
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/*
header test for ANSI c++ headers
is it in Standard like that or am I wrong??
Used:: Draft paper Dec 1996.
sorry: got no $20 for Standard ;)))))))))
c++ library headers
*/
# include <algorithm>
# include <bitset>
# include <complex>
# include <deque>
# include <exception>
# include <fstream>
# include <functional>
# include <iomanip>
# include <ios>
# include <iosfwd>
# include <iostream>
# include <istream>
# include <iterator>
# include <limits>
# include <list>
# include <locale>
# include <map>
# include <memory>
# include <new>
# include <numeric>
# include <ostream>
# include <queue>
# include <set>
# include <sstream>
# include <stack>
# include <stdexcept>
# include <streambuf>
# include <string>
# include <typeinfo>
# include <utility>
# include <valarray>
# include <vector>
// c++ headers for c library functions
# include <cassert>
# include <cctype>
# include <cerrno>
# include <cfloat>
# include <ciso646>
# include <climits>
# include <clocale>
# include <cmath>
# include <csetjmp>
# include <csignal>
# include <cstdarg>
# include <cstddef>
# include <cstdio>
# include <cstdlib>
# include <cstring>
# include <ctime>
# include <cwchar>
# include <cwctype>
/*
But:
*/
# include <istream.h>
# include <ostream.h>
# include <streambuf.h>
// not std c++ header
# include <limits.h>
/*
completely missimg
*/
# include <bitset>
# include <ios>
# include <sstream>
/*
gcl@moljac:~/gcl/src/example/Tests/compiler_specific/bugs/GNU/egcs/1.1.2
> g++ stdc++_STL_inclusion_files_extension.cpp
stdc++_STL_inclusion_files_extension.cpp:41: bitset: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:48: ios: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:51: istream: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:53: limits: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:55: locale: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:60: ostream: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:63: sstream: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:66: streambuf: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:70: valarray: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:106: bitset: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:107: ios: No such file or
directory
stdc++_STL_inclusion_files_extension.cpp:108: sstream: No such file or
directory
*/
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <istream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <ostream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <streambuf.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <istream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <ostream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <streambuf.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <istream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <ostream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the
Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not
cause
the resulting executable to be covered by the GNU General Public
License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License.
*/
#include <streambuf.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not cause
the resulting executable to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
#include <istream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not cause
the resulting executable to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
#include <ostream.h>
/*
Copyright (C) 1993 Free Software Foundation
This file is part of the GNU IO Library. This library is free
software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, if you link this library with files
compiled with a GNU compiler to produce an executable, this does not cause
the resulting executable to be covered by the GNU General Public License.
This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
#include <streambuf.h>