This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Errors compiling xemacs


>>>>> Corinna Vinschen writes:

    > On Apr 23 09:00, Dr. Volker Zell wrote:
    >> Hi
    >> 
    >> This used to compile fine. Any ideas ?
    >> 
    >> gcc -c -ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/d/misc/src/release/xemacs-21.4.22-2/build=/usr/src/debug/xemacs-21.4.22-2 -fdebug-prefix-map=/cygdrive/d/misc/src/release/xemacs-21.4.22-2/src/xemacs-21.4.22=/usr/src/debug/xemacs-21.4.22-2  -Demacs -I. -DHAVE_CONFIG_H -Wno-sign-compare -fno-caller-saves /cygdrive/d/misc/src/release/xemacs-21.4.22-2/src/xemacs-21.4.22/src/emacs.c
    >> In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/rpc.h:74:0,
    >> from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/objbase.h:6,
    >> from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/ole2.h:16,
    >> from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/shlobj.h:81,
    >> from /cygdrive/d/misc/src/release/xemacs-21.4.22-2/src/xemacs-21.4.22/src/syswindows.h:77,
    >> from /cygdrive/d/misc/src/release/xemacs-21.4.22-2/src/xemacs-21.4.22/src/emacs.c:184:
    >> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/rpcdce.h:142:88: error: expected ';', ',' or ')' before 'int'

    > The last time you compiled xemacs was with the mingw.org-based w32api
    > headers, right?

Yes
    
    > The failing line is

    >   typedef void __RPC_API RPC_OBJECT_INQ_FN(UUID *ObjectUuid,UUID *TypeUuid,RPC_STATUS *Status);

    > Is there a chance that one of these types or variable names are already
    > defined by the emacs source code?


In src/syswindows.h from xemacs source I see:

#ifdef HAVE_X_WINDOWS
#define Status int
#endif

    > Corinna

Ciao
  Volker
  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]