From f9b392b1dfcc62a290f9e8945a0e107183d87180 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 2 Apr 2008 05:34:10 +0000 Subject: [PATCH] Mac: Fix compiler warning; Remove -fvisibility* compiler flags from boinc_cmd build svn path=/trunk/boinc/; revision=15003 --- checkin_notes | 6 +++++- client/hostinfo_unix.C | 2 +- mac_build/boinc.xcodeproj/project.pbxproj | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index faf774d73d..93217f3319 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2975,8 +2975,12 @@ Eric K April 1 2008 graphics2_util.C Charlie April 1 2008 - - Mac: Remove -fvisibility* compiler flags from BOINC library builds. + - Mac: Fix compiler warning. + - Mac: Remove -fvisibility* compiler flags from BOINC library builds + and boinc_cmd build. + client/ + hostinfo_unix.C mac_build/ boinc.xcodeproj/ project.pbxproj diff --git a/client/hostinfo_unix.C b/client/hostinfo_unix.C index b36c1ac290..61f0e178d3 100644 --- a/client/hostinfo_unix.C +++ b/client/hostinfo_unix.C @@ -917,7 +917,7 @@ inline bool all_tty_idle(time_t t) { // segfault when called. This implementation is better. static std::vector tty_list; struct stat sbuf; - int i; + unsigned int i; if (tty_list.size()==0) tty_list=get_tty_list(); for (i=0; i