Build report for sparc-sun-sunos4.1.4
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Tue Aug 31 23:20:00 GMT 1999
> From: "David W. Schuler" <schuld@btv.ibm.com>
>
> I have successfully compiled gcc version 2.95 19990728 (release) for
> sparc-sun-sunos4.1.4.
>
>
> Counting all warnings,
> there are 31 warnings in stage3 of this bootstrap.
>
> Number of warnings per file:
> 6 ../../../gcc/gcc/f/com.c
> 4 ../../../gcc/gcc/f/bad.c
> 3 ../../../gcc/gcc/f/target.c
> 3 ../../../gcc/gcc/f/stw.c
> 3 ../../../gcc/gcc/f/storag.c
> 3 ../../../gcc/gcc/f/intrin.c
> 2 cxxmain.c
> 2 ../../../gcc/gcc/f/src.c
> 2 ../../../gcc/gcc/f/lex.c
> 1 ../../../gcc/gcc/f/where.c
> 1 ../../../gcc/gcc/f/stb.c
> 1 ../../../gcc/gcc/f/parse.c
>
> Number of warning types:
> 27 implicit declaration of function `???'
These warnings occur because SunOS4 didn't bother to provide
most of the standard 'extern int' prototypes in its system headers.
You can avoid these warnings by adding -D__USE_FIXED_PROTOTYPES__ to
your BOOT_CFLAGS.
> 2 assignment discards qualifiers from pointer target type
This is a (harmless) missing `const' bug in
libiberty/cplus-dem.c which is what gcc/cxxmain.c links to.
> 1 unused parameter `???'
Harmless.
> 1 assignment from incompatible pointer type
This is an oversight in the fixincludes process (both old and
new) which has been present for years. Fixincludes failed to convert
sunos4's stdlib.h from 'char* bsearch()' to 'void* bsearch()'. I've
submitted a fix for it and hope to have it in the next release.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc
mailing list