Mail Archives: djgpp/2002/12/21/00:31:40
"Alex Vinokur" <alexvn AT bigfoot DOT com> wrote in news:atva2n$32cvt$1 AT ID-
79865.news.dfncis.de:
> I would like to use class stdiobuf.
> However file <stdiostream.h> is missing in GNU gcc/gpp in DJGPP.
>
> Is it proposed to add <stdiostream.h> ?
>
> P.S. For instance, CYGWIN_NT-5.0 does contain <stdiostream.h>
i am no expert on this, but i think it is part of the old GNU libio.
you mention that cygwin includes this file. however, note that including
this header in a C++ file causes the following warning message to be
issued:
$ gcc -Wall -c sss.cc
sss.cc:1:25: stdiostream.h: No such file or directory
asu1 AT AARDVARKIV /cygdrive/c/dload/misc
$ gcc -Wall -c sss.cc
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
from /usr/include/g++-3/stdiostream.h:34,
from sss.cc:1:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
...
Thread model: posix
gcc version 3.2 20020927 (prerelease)
I would say your best bet is to try to solve your problem using the
standard C++ library.
--
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov
- Raw text -