As I explained in other email, I've downloaded the source of xpcom with:

$ export CVSROOT=":pserver:[EMAIL PROTECTED]:/cvsroot"
$ cvs -z 3 co mozilla/client.mk
$ cd mozilla
$ make -f client.mk pull_all BUILD_MODULES=xpconnect MOZ_CO_TAG=MOZILLA_1_0_BRANCH


but when I try to compile with:

$ ./configure --enable-modules=xpconnect BUILD_MODULES=xpconnect
$ make -C xpcom

I get the following error:

...
xpidl_util.c:830:62: pasting "IDL_tree_warning" and "(" does not give a valid preprocessing token
...


The problem is in the macro IDL_WARNING defined in xpcom/typelib/xpidl/xpidl.h:

#define XPIDL_WARNING(x) IDL_tree_warning##x

If you change the definition to:

#define XPIDL_WARNING(x) IDL_tree_warning x

it passes.

Is this a bug or I'm missing something?








-- Saudos H�ctor

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to