Re: gnome-libs 0.99.2



>From: Miguel de Icaza <miguel@nuclecu.unam.mx>
>> Firstly, in gnome-libs, I had to add -D__EXTENSIONS__ to SUPPORTINCS in the 
>> Makefile of both zvt and libgnorba, so that a number of typedefs and 
>> structure definitions would happen.  
>What is the rationale for this change?  Can you provide us with
>documentation for this so that we provide the proper configure check?

AND:

>From: Philippe.Defert@cern.ch
>- on sparc-sun-solaris2.6 for zvt/gnome-pty-helper.c:
>
>: :gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H 
-I../support -I../support -I../intl -I../intl -I/usr/local/include 
-I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include 
-I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -DGNOMESBINDIR=\""/usr/local/sbin"\" 
-I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -O2 
-Wall -Wno-unused  -c gnome-pty-helper.c
>: :In file included from gnome-pty-helper.c:38:
>: :/usr/include/sys/resource.h:115: field `ru_utime' has incomplete type
>: :/usr/include/sys/resource.h:116: field `ru_stime' has incomplete type
>: :In file included from gnome-pty-helper.c:53:
>:
>  ......In fact _POSIX_SOURCE then defines other
>  macros which do provoke the skip the definition of struct timeval in
>  <sys/time.h> as shown below
>
>#if (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)) || \
>        defined(__EXTENSIONS__) || defined(_XPG4_2)
>#ifndef _ASM


Thanks for reminding me ;O)  Miguel, *this* is the reason I added 
-D__EXTENSIONS__ to SUPPORTINCS - same problem, different solution =O)  Same 
thing solved the problems I also got in gnorba.

Which one do you prefer?

Ta,

-------My opinion - Not sane, intelligent or necessarily useful-------
o o                                      mailto:Moredhel@earthling.net 
/v\ark R. Bowyer.  http://i.am/Moredhel  mailto:Mark.Bowyer@UK.Sun.COM
`-'                                             I'm the dots in .co.uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]