Miscellaneous warning messages

Grimes, Dean DGRIMES@scvl.com
Thu Mar 30 07:36:00 GMT 2000


Title: Miscellaneous warning messages





SUMMARY:


Miscellaneous warning messages


ENVIRONMENT:
compiler: gcc-2.8.1 (c and c++ only)
make: 3.78.1
bison: 1.28
libs: libg++-2.8.1.1a, libstdc++-2.8.1
as: SCOs assembler 5.1.0Ha.IR823
ld: SCOs linker 5.1.1A
System information: Unix SCO OpenServer Release 3.2v5.0.4


CONTACT INFO
Reported by: dgrimes@scvl.com


DESCRIPTION:
I'm trying to compile gcc-2.95.2 and I am receive some warning messages. In version 2.8.1 there was text document that explained which warnings could safely be ignored. However, I was unable to find this information in any file in the gcc-2.95.2 distribution.

I configured with:


        configure --enable-languages=c,c++
        make bootstrap LANGUAGES="c c++"



I guess the question is: Can these warnings be safely ingnored?


toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
varasm.c:271: warning: initialization discards `const' from pointer target type
reload1.c:1275: warning: passing arg 4 of `decode_asm_operands' from incompatible pointer type
cxxmain.c:4527: warning: assignment discards `const' from pointer target type
cxxmain.c:4530: warning: assignment discards `const' from pointer target type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
varasm.c:271: warning: initialization discards qualifiers from pointer target type
reload1.c:1275: warning: passing arg 4 of `decode_asm_operands' from incompatible pointer type
cxxmain.c:4527: warning: assignment discards qualifiers from pointer target type
cxxmain.c:4530: warning: assignment discards qualifiers from pointer target type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
toplev.c:1178: warning: initialization from incompatible pointer type
varasm.c:271: warning: initialization discards qualifiers from pointer target ty
pe
reload1.c:1275: warning: passing arg 4 of `decode_asm_operands' from incompatible pointer type
cxxmain.c:4527: warning: assignment discards qualifiers from pointer target type
cxxmain.c:4530: warning: assignment discards qualifiers from pointer target type






More information about the Gcc-bugs mailing list