From owner-freebsd-current@FreeBSD.ORG Sun May 4 10:21:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9A0437B401 for ; Sun, 4 May 2003 10:21:47 -0700 (PDT) Received: from hood.oook.cz (hood.oook.cz [195.122.218.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AF6243F75 for ; Sun, 4 May 2003 10:21:46 -0700 (PDT) (envelope-from pav@oook.cz) Received: from [127.0.0.1] (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.12.9/8.12.9) with ESMTP id h44HLLqp021855 for ; Sun, 4 May 2003 19:21:21 +0200 (CEST) (envelope-from pav@oook.cz) From: Pav Lucistnik To: freebsd-current@freebsd.org Content-Type: text/plain Organization: Message-Id: <1052068880.617.9.camel@pav.oook.cz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 04 May 2003 19:21:21 +0200 Content-Transfer-Encoding: 7bit Subject: same define in two header files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 17:21:48 -0000 I can no longer compile obexapp (third-party program from Maksim's Bluetooth suite) on today -CURRENT. It complains about few limits.h defines being redefined. cc -O -pipe -g -mcpu=pentiumpro -g -I/usr/local/include -I/usr/local/include/glib12 -I/usr/local/include/openobex -I../../src/sys/netgraph/bluetooth/include -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c main.c In file included from /usr/local/include/glib12/glibconfig.h:10, from /usr/local/include/glib12/glib.h:66, from main.c:36: /usr/include/float.h:47:1: "FLT_DIG" redefined In file included from /usr/include/limits.h:128, from /usr/local/include/glib12/glibconfig.h:9, from /usr/local/include/glib12/glib.h:66, from main.c:36: /usr/include/sys/limits.h:108:1: this is the location of the previous definition ... and FLT_MIN, FLT_MAX, DBL_DIG, DBL_MIN, DBL_MAX. I looked and those defines are in both /usr/include/float.h and /usr/include/sys/limits.h, is this ok? Maybe there are stalled header files in /usr/include, how can I found which one? I can't rely on timestamps like with binaries. -- Pav Lucistnik May your arrow always find its mark.