Author: bart Date: 2008-03-01 07:35:52 +0000 (Sat, 01 Mar 2008) New Revision: 7517
Log: Added -Wsign-compare. Modified: trunk/exp-drd/Makefile.am trunk/exp-drd/drd_thread.c Modified: trunk/exp-drd/Makefile.am =================================================================== --- trunk/exp-drd/Makefile.am 2008-03-01 07:25:13 UTC (rev 7516) +++ trunk/exp-drd/Makefile.am 2008-03-01 07:35:52 UTC (rev 7517) @@ -100,12 +100,12 @@ priv_drd_clientreq.h \ pub_drd_bitmap.h -AM_CFLAGS_X86_LINUX += -I$(top_srcdir)/coregrind -AM_CFLAGS_AMD64_LINUX += -I$(top_srcdir)/coregrind -AM_CFLAGS_PPC32_LINUX += -I$(top_srcdir)/coregrind -AM_CFLAGS_PPC64_LINUX += -I$(top_srcdir)/coregrind -AM_CFLAGS_PPC32_AIX5 += -I$(top_srcdir)/coregrind -AM_CFLAGS_PPC64_AIX5 += -I$(top_srcdir)/coregrind +AM_CFLAGS_X86_LINUX += -I$(top_srcdir)/coregrind -Wsign-compare +AM_CFLAGS_AMD64_LINUX += -I$(top_srcdir)/coregrind -Wsign-compare +AM_CFLAGS_PPC32_LINUX += -I$(top_srcdir)/coregrind -Wsign-compare +AM_CFLAGS_PPC64_LINUX += -I$(top_srcdir)/coregrind -Wsign-compare +AM_CFLAGS_PPC32_AIX5 += -I$(top_srcdir)/coregrind -Wsign-compare +AM_CFLAGS_PPC64_AIX5 += -I$(top_srcdir)/coregrind -Wsign-compare exp_drd_x86_linux_SOURCES = $(DRD_SOURCES_COMMON) exp_drd_x86_linux_CPPFLAGS = $(AM_CPPFLAGS_X86_LINUX) Modified: trunk/exp-drd/drd_thread.c =================================================================== --- trunk/exp-drd/drd_thread.c 2008-03-01 07:25:13 UTC (rev 7516) +++ trunk/exp-drd/drd_thread.c 2008-03-01 07:35:52 UTC (rev 7517) @@ -543,7 +543,7 @@ */ static void thread_compute_minimum_vc(VectorClock* vc) { - int i; + unsigned i; Bool first; Segment* latest_sg; @@ -564,7 +564,7 @@ static void thread_compute_maximum_vc(VectorClock* vc) { - int i; + unsigned i; Bool first; Segment* latest_sg; @@ -590,8 +590,8 @@ */ static void thread_discard_ordered_segments(void) { + unsigned i; VectorClock thread_vc_min; - int i; s_discard_ordered_segments_count++; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers