kernel compile warnings

Andy Farkas andyf at speednet.com.au
Thu Jun 10 22:14:33 GMT 2004


I noticed a few "strange looking warnings" fly by during a buildkernel so
I checked the script-file:

# grep "warning:" mkbk.out-20040610 | grep -v dereferencing | wc -l
      50

Some examples of the three largest offenders:

src/sys/dev/drm/mga_state.c:250: warning: inlining failed in call to `mga_g200_emit_pipe'
src/sys/dev/drm/r128_state.c:102: warning: inlining failed in call to`r128_emit_context'
src/sys/dev/ie/if_ie.c:763: warning: passing arg 1 of `bcopy' discards qualifiers from pointer target type

Are the Gods aware of these and should they be fixed?
I have standard COPTFLAGS=-O -pipe in my /etc/make.conf.

--

 :{ andyf at speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/




More information about the freebsd-current mailing list