SPARC's GCC to compile GNU m4 warning

I am a newbie in Solaris. Below is the warning message i received when i install GNU m4 with GCC for SPARC(SUN C compiler).

Q1) Is Gnu product is not compatible with sun gcc?

Q2) Do anyone can help me to sort this out?

regex.c: In function 're_match_2_internal':

regex.c:4064: warning: passing argument 1 of 'bcmp_translate' discards qualifiers from pointer target type

regex.c:4064: warning: passing argument 2 of 'bcmp_translate' discards qualifiers from pointer target type

getopt.c: In function '_getopt_internal':

getopt.c:488: warning: incompatible implicit declaration of built-in function 'strlen'

obstack.c: In function '_obstack_free':

obstack.c:337: warning: incompatible implicit declaration of built-in function 'abort'

[808 byte] By [lys-014] at [2007-11-26 6:06:41]
# 1

Just noticed your message on "general" forum.

GCC for SPARC Systems is mainly discussed on "cool tools" forum.

If you're talking about "GCC for SPARC Systems", it is 100% compatible with plain GCC 4.0.2: binary code, flags, warnings, etc.

The same warnings for regex.c will be seen with plain GCC.

alexey_ at 2007-7-6 13:35:39 > top of Java-index,Open Source Technologies,OpenSPARC...