IOStream does not provide write(void *, unsigned int) method

Gabriel Dos Reis gdr@codesourcery.com
Wed Jan 2 12:15:00 GMT 2002


[ ML changed from "bug-gcc" to "libstdc++" ]

Jose Santiago <santiago@haulpak.com> writes:

| The following simple program compiles and runs under g++ 2.X, but does not 
| under 3.X.

g++-2.x has a non standard conformant libary.

| I would image that there should be a ostream.write(void *, 
| unsigned int) method that would match the call in this program.

Right; and there is no such member functions mandated by the official
C++ definition.  You might probably want to fix your program if you
intend to port it to standard conformant libraries/compilers.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com

--g02KBHpj031311.1010002277/ariane.ens-cachan.fr--




More information about the Libstdc++ mailing list