https://bugs.kde.org/show_bug.cgi?id=455168

--- Comment #4 from John Reiser <jrei...@bitwagon.com> ---
(In reply to Paul Floyd from comment #1)
> I get quite a few new warnings (there were perhaps 5 before, mostly void
> abuse and for x86)

When I process those warning lines using the shell pipeline
   sort  |  uniq -c  | sort -rn
then I see that most of the lines appear twice as duplicates:
-----
      2 m_syswrap/syswrap-generic.c:3084:38: warning: cast discards 'const'
qualifier from pointer target type [-Wcast-qual]
      2 m_pathscan.c:131:26: warning: cast discards 'const' qualifier from
pointer target type [-Wcast-qual]
      2 m_main.c:3439:40: warning: passing argument 3 of 'valgrind_main'
discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   [[snip]]
      2 m_initimg/initimg-freebsd.c:559:31: warning: passing argument 1 of
'copy_str' from incompatible pointer type [-Wincompatible-pointer-types]
      2 m_initimg/initimg-freebsd.c:557:31: warning: passing argument 1 of
'copy_str' from incompatible pointer type [-Wincompatible-pointer-types]
      2 m_initimg/initimg-freebsd.c:286:16: warning: initialization discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
      1 m_syswrap/syswrap-x86-freebsd.c:460:10: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
      1 m_syswrap/syswrap-x86-freebsd.c:419:10: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
      1 m_syswrap/syswrap-x86-freebsd.c:406:24: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
      1 m_syswrap/syswrap-x86-freebsd.c:401:24: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
      1 m_sigframe/sigframe-x86-freebsd.c:292:27: warning: taking address of
expression of type 'void'
      1 m_sigframe/sigframe-amd64-freebsd.c:256:27: warning: taking address of
expression of type 'void'
-----
So "quite a few" is actually not so may.  (And the Makefile could be made less
wasteful.)
[Further analysis later ...]

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to