[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KDE-ICE compile error on Solaris
From:       Julien Gilles <julien.gilles () bcv01y01 ! vz ! cit ! alcatel ! fr>
Date:       2001-03-13 13:21:40
[Download RAW message or body]


make[3]: Entering directory `/udir_ext/gilles/temp/kde_cvs/kdelibs/dcop/KDE-ICE'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop \
-I../../libltdl -I../../kdecore -I../../kdeui -I../../kssl \
-I/udir/gilles/local/qt-copy/include -I/usr/include/X11 \
-I/udir/gilles/local/kde-unstable//include -I/udir/gilles/local/kde-unstable//include \
-I/udir/gilles/local/include  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS  \
-DICE_t -DTRANS_SERVER -DTRANS_CLIENT -DUNIXCONN -O2 -DNDEBUG -c accept.c gcc \
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../libltdl -I../../kdecore \
-I../../kdeui -I../../kssl -I/udir/gilles/local/qt-copy/include -I/usr/include/X11 \
-I/udir/gilles/local/kde-unstable//include -I/udir/gilles/local/kde-unstable//include \
-I/udir/gilles/local/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS \
-DICE_t -DTRANS_SERVER -DTRANS_CLIENT -DUNIXCONN -O2 -DNDEBUG -Wp,-MD,.deps/accept.pp \
                -c accept.c  -fPIC -DPIC -o .libs/accept.o
accept.c: In function `KDE_IceAcceptConnection':
accept.c:163: `sz_' undeclared (first use in this function)
accept.c:163: (Each undeclared identifier is reported only once
accept.c:163: for each function it appears in.)
accept.c:163: parse error before `iceByteOrderMsg'
accept.c:163: parse error before `iceByteOrderMsg'
accept.c:163: parse error before `iceByteOrderMsg'

I think this is related to my configuration, as just adding -DANSICPP
in Makefile fixes it. The related code is in /usr/include/X11/Xmd.h

#if ((__STDC__ || defined(__cplusplus) || defined(c_plusplus)) && !defined(UNIXCPP)) \
|| defined(ANSICPP) #define _SIZEOF(x) sz_##x
#define SIZEOF(x) _SIZEOF(x)
#else
#define SIZEOF(x) sz_/**/x
#endif /* if ANSI C compiler else not */

(gcc version 2.95.2 19991024 (release))

Where is the bug ?

-- 
Julien Gilles.
 
> > Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic