public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* ext/stdio_fielbuf.h
@ 2003-02-19  5:16 Ta-Cheng Lin
  0 siblings, 0 replies; only message in thread
From: Ta-Cheng Lin @ 2003-02-19  5:16 UTC (permalink / raw)
  To: gcc



Hi All:

I tried to use 3.2.1 to compile the following file

-- 
#include <ext/stdio_filebuf.h>


int main()
{


}
---
command line :

1. make sure g++ is 3.2.1
/home/nanosrc/local-linux/bin/g++ -v
Reading specs from
/home/nanosrc/local-linux/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: ./configure
--prefix=/home/nanosrc/local-linux
--enable-languages=c++
--with-local-prefix=/home/nanosrc/local-linux
Thread model: posix
gcc version 3.2.1

---
2. compile it
/home/nanosrc/local-linux/bin/g++
-I/home/nanosrc/local-linux/include/c++/3.2.1/ext
outbuf3.cpp -o outbuf3
----

But get error messages:
In file included from
/home/nanosrc/local-linux/include/c++/3.2.1/ext/memory:67,
                 from
/home/nanosrc/local-linux/include/c++/3.2.1/string:48,
                 from
/home/nanosrc/local-linux/include/c++/3.2.1/bits/localefwd.h:49,
                 from
/home/nanosrc/local-linux/include/c++/3.2.1/ios:48,
                 from
/home/nanosrc/local-linux/include/c++/3.2.1/istream:44,
                 from
/home/nanosrc/local-linux/include/c++/3.2.1/fstream:45,
                 from
/home/nanosrc/local-linux/include/c++/3.2.1/ext/stdio_filebuf.h:38,
                 from outbuf3.cpp:1:
/home/nanosrc/local-linux/include/c++/3.2.1/bits/stl_tempbuf.h:78:
type 
   specifier omitted for parameter
`_ForwardIteratorConcept'
/home/nanosrc/local-linux/include/c++/3.2.1/bits/stl_tempbuf.h:80:
parse error 
   in method specification before `_M_original_len'
/home/nanosrc/local-linux/include/c++/3.2.1/bits/stl_tempbuf.h:144:
parse error 
   before `}' token



Any help is appreciated.


-Todd


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-19  2:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-19  5:16 ext/stdio_fielbuf.h Ta-Cheng Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).