[gnu.g++.lib.bug] libg++ 1.36.2 compile problem

whitcomb@VIVALDI.BERKELEY.EDU (Gregg Whitcomb) (01/08/90)

machine: vax/ultrix
libg++: 1.36.2
g++: 1.36.2 (g++.ztar.Z on trix)

description: File.cc and streambuf.cc won't compile because
sys/file.h has declarations of open and fcntl which conflict with
those in std.h.

In file included from /source/local/gnu/libg++/g++-include/sys/file.h:11, from F
ile.cc:27:
//usr/include/sys/file.h:284: conflicting types for `int fcntl (...)'
//usr/include/sys/file.h:284: A parameter list with an ellipsis can't match
//usr/include/sys/file.h:284: an empty parameter name list declaration.
//usr/include/sys/file.h:284: conflicting types for `int open (...)'
//usr/include/sys/file.h:284: A parameter list with an ellipsis can't match
//usr/include/sys/file.h:284: an empty parameter name list declaration.

-Gregg Whitcomb (whitcomb@vivaldi.Berkeley.EDU)