Hello!

Whenever I try to compile any C++ program that uses, for example,
g++/iostream.h, I get a lot of warnings like:

In file included from /usr/include/g++/iostream.h:31,
                 from teste.cpp:1:
/usr/include/g++/streambuf.h:403: warning: invalid type `void *' for
default argument to `ios *'
In file included from teste.cpp:1:
/usr/include/g++/iostream.h:50: warning: invalid type `void *' for default
argument to `ostream *'
/usr/include/g++/iostream.h: In method `int ostream::opfx()':
/usr/include/g++/iostream.h:53: warning: implicit declaration of function
`int _IO_flockfile(...)'
/usr/include/g++/iostream.h: In method `void ostream::osfx()':
/usr/include/g++/iostream.h:54: warning: implicit declaration of function
`int _IO_funlockfile(...)'
/usr/include/g++/iostream.h: At top level:
/usr/include/g++/iostream.h:123: warning: invalid type `void *' for
default argument to `ostream *'
/usr/include/g++/iostream.h:230: warning: invalid type `void *' for
default argument to `ostream *'

What do they mean? My program does compile, and I'm sure the code is ok...
Thanks in advance!

Ricardo Peres

Reply via email to