This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sys/cdefs.h required by gcc 2.95.3 but not 2.95.2. Why? Bug?


On my Solaris 8 box, time.h, wait.h, resource.h, and socket.h are all there
in /usr/include/sys. cdefs.h is missing but required by gcc 2.95.3 when
compiling any C++ program that uses iostream.

gcc 2.95.2 does not look for cdefs.h but gcc 2.95.3 does (see
/usr/local/sparc-sun-solaris-2.8/include/_G_config.h.) On a different
platform, you need to replace sparc-sun-solaris-2.8 by your HW specific
subdirectory.


I can imagine that on other systems cdefs.h is in /usr/include/sys. But I do
not understand why 2.95.3 requires this file but 2.95.2 did not. Of course,
it could be a newly introduced bug in 2.95.3.

--GT




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]