Re: FOR_PANEL moved, ORBit notes



On Tue, 8 Sep 1998, Miguel de Icaza wrote:

> > Actually, I just got a new error:
> > 
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src
> > -I/opt/gnome/lib/glib/include -I/opt/gnome/include -g -O2
> > -Wp,-MD,.deps/iiop-endian.p -c -fPIC -DPIC iiop-endian.c
> > iiop-endian.c:6: redefinition of `byteswap'
> > iiop-endian.h:30: `byteswap' previously defined here
> 
> I am getting the same error.
> 
> Using inline functions is known to be non-portable to other C
> compilers.  I suggest using a macro instead.

Well, this is fixed now. It was an error in configure.in of glib
that caused `inline' to be #defined to the empty string.

To make it portable to other C compilers, we're now using G_INLINE_FUNC
and G_CAN_INLINE from glib.h. This enables inline functions for compilers
supporting them and also works for those not supporting them.

Martin

-----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier

   baulig@castor.uni-trier.de, http://www.home-of-linux.org/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger me for public key or fetch finger.txt from the url above
------------------------------------------------------------------



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