same define in two header files

From: Pav Lucistnik <pav_at_oook.cz>
Date: 04 May 2003 19:21:21 +0200
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 <pav_at_oook.cz>
May your arrow always find its mark.
Received on Sun May 04 2003 - 08:21:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC