vesper@kong.gsfc.nasa.gov (Greg Vesper - RMS) (01/17/91)
I recently upgraded to 4.1.1 only to find that my Oregon C++ compiler and the GNU C++ compiler are busted under 4.1.1. Sun changed the setup of some header files and now my C++ compilers barf with the following sort of errors: > In file included from //usr/include/sys/file.h:41, from > /source/gnu/libg++-1.37. > 0/g++-include/sys/file.h:18, from File.cc:27: > /usr/include/sys/fcntlcom.h:123: warning: `flock' was declared `extern' > and late > r `static' > In file included from > /source/gnu/libg++-1.37.0/g++-include/sys/stat.h:7, from / > usr/include/sys/fcntlcom.h:147, from //usr/include/sys/file.h:41, from > /source/g > nu/libg++-1.37.0/g++-include/sys/file.h:18, from File.cc:27: > //usr/include/sys/stat.h:90: conflicting types for `unsigned short int > umask (.. > .)' Both compilers are generating similar complaints about multiple definitions in the sys header files. Is anyone else having similar problems?? Does anyone know of any fixes?? I traced through the header files for a while and got nowhere. It looks like the POSIX compliance preprocessor commands are screwing up. Any input would be appreciated. Greg Vesper (vesper@kong.gsfc.nasa.gov) 301-286-5162