Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343047

Summary: SWT 3.6.2 fails to build with xulrunner 2
Product: [Eclipse Project] Platform Reporter: أحمد المحمودي <aelmahmoudy>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: grant_gayed, remy.suen
Version: 3.6.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Full build log none

Description أحمد المحمودي CLA 2011-04-16 13:26:45 EDT
Build Identifier: 3.6.2

Building SWT 3.6.2 against xulrunner 2 failed with this error:
g++ -o xpcomxul.o -O -DSWT_VERSION=3659  -DMOZILLA_STRICT_API=1 -fno-rtti -fno-exceptions -Wall -Wno-non-virtual-dtor -fPIC -I. -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux `pkg-config --cflags libxul-embedding`  -DNO__1NS_1InitXPCOM2  -c xpcom.cpp
xpcom.cpp: In function 'jint Java_org_eclipse_swt_internal_mozilla_XPCOM__1Call__IIIIII(JNIEnv*, _jclass*, jint, jint, jint, jint, jint, jint)':
xpcom.cpp:58:15: error: expected primary-expression before '(' token
xpcom.cpp:58:15: error: expected primary-expression before ')' token
xpcom.cpp:58:15: error: expected primary-expression before '*' token
xpcom.cpp:58:15: error: expected primary-expression before ',' token
xpcom.cpp:58:15: error: expected primary-expression before '*' token
xpcom.cpp:58:15: error: expected primary-expression before ',' token
xpcom.cpp:58:15: error: expected primary-expression before '*' token
xpcom.cpp:58:15: error: expected primary-expression before ',' token
xpcom.cpp:58:15: error: 'nsStaticModuleInfo' was not declared in this scope
xpcom.cpp:58:15: error: expected primary-expression before ')' token
xpcom.cpp:58:36: error: expected ')' before 'arg0'
make[2]: *** [xpcomxul.o] Error 1
make[2]: Leaving directory `/tmp/buildd/swt-gtk-3.6.2'
make[1]: *** [all] Error 2


Reproducible: Always
Comment 1 أحمد المحمودي CLA 2011-04-16 13:48:16 EDT
Created attachment 193421 [details]
Full build log
Comment 2 Grant Gayed CLA 2011-04-27 14:45:26 EDT
XULRunner >= 2.0 is not currently supported.  Marking as a dup of bug 327696.

*** This bug has been marked as a duplicate of bug 327696 ***