This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Warning counts in gdb; Was: Re: [patch] multi-arch INIT_FRAME_PC*


Warnings --

I tried turning on -Werror by hand and didn't like the results.
I realized that I have some useful compilation logs:

  grep -c 'gdb.*warning:' */native/build/X-make.log 

The results are:

  native hppa1.1 hpux 10.20       47
  native red hat linux 6.0	   0
  native red hat linux 6.1      2301
  native red hat linux 6.2	2301
  native red hat linux 7        2301
  native solaris 2.5.1		   1
  native solaris 2.6		   3
  native solaris 2.7               3
  native solaris 2.8	           3

This is with gcc 2.95.3.

I glanced at the warnings in red hat linux.  The first several of them
are on lines that call memset.  It's some "compiler recognizes memset"
effect that I don't want to analyze right now.

Almost every platform has a couple of warnings though.

Michael


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