public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Remove invalid compiler warning
@ 2013-04-17  2:59 Bruce Dubbs
  2013-05-07  7:54 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Dubbs @ 2013-04-17  2:59 UTC (permalink / raw)
  To: util-linux

I'm not that familiar with git, but this patch is really small.
Remove an irritating compiler warning in two programs.

   -- Bruce Dubbs

--- util-linux-2.23-rc2.orig/text-utils/Makemodule.am   2013-03-11 
05:20:39.424933506 -0500
+++ util-linux-2.23-rc2/text-utils/Makemodule.am        2013-04-16 
21:54:21.595291067 -0500
@@ -53,6 +53,7 @@
  usrbin_exec_PROGRAMS += pg
  dist_man_MANS += text-utils/pg.1
  pg_SOURCES = text-utils/pg.c
+pg_CFLAGS = -Wno-clobbered
  pg_LDADD = $(LDADD) libcommon.la @NCURSES_LIBS@
  if HAVE_TINFO
  pg_LDADD += -ltinfo
@@ -77,6 +78,7 @@
  bin_PROGRAMS += more
  dist_man_MANS += text-utils/more.1
  more_SOURCES = text-utils/more.c
+more_CFLAGS = -Wno-clobbered
  more_LDADD = $(LDADD)
  if HAVE_TINFO
  more_LDADD += -ltinfo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Remove invalid compiler warning
  2013-04-17  2:59 [PATCH 1/1] Remove invalid compiler warning Bruce Dubbs
@ 2013-05-07  7:54 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-05-07  7:54 UTC (permalink / raw)
  To: Bruce Dubbs; +Cc: util-linux

On Tue, Apr 16, 2013 at 09:59:48PM -0500, Bruce Dubbs wrote:
> I'm not that familiar with git, but this patch is really small.
> Remove an irritating compiler warning in two programs.

It would be better to test the compiler option in ./configure, I have
applied:

 https://github.com/karelzak/util-linux/commit/7697771d8f1df3576c73153f392285bb8973c117

Thanks.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-07  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17  2:59 [PATCH 1/1] Remove invalid compiler warning Bruce Dubbs
2013-05-07  7:54 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox