Closed Bug 310335 Opened 21 years ago Closed 21 years ago

Build fails on xptcinvoke_arm.cpp:139: error: extra ';'

Categories

(Core :: XPCOM, defect)

1.0 Branch
Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: micah, Assigned: dougt)

References

()

Details

(Keywords: fixed1.8)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Galeon/1.3.21 (Debian package 1.3.21-6) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Galeon/1.3.21 (Debian package 1.3.21-6) Build fails on xptcinvoke_arm.cpp:139: error: extra ';' due to newer gcc being more strict about proper C++, see the build log here: http://experimental.debian.net/fetch.php?&pkg=mozilla-thunderbird&ver=1.0.6-3etch2&arch=arm&stamp=1127923033&file=log&as=raw Fix is: diff -ur mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp.orig mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp --- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp.orig 2005-09-28 13:14:42.380985261 -0400 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp 2005-09-28 13:15:13.882233614 -0400 @@ -136,7 +136,7 @@ PRUint32 fn_count; PRUint32 fn_copy; }; -}; +} XPTC_PUBLIC_API(nsresult) XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex, Reproducible: Always Steps to Reproduce: 1. Compile thunderbird 1.0.6 or later on the arm architecture 2. Wait Actual Results: Build fails with the error: make[8]: Entering directory `/build/buildd/mozilla-thunderbird-1.0.6/build-dir/mozilla/xpcom/reflect/xptcall/src/md/unix' xptcinvoke_arm.cpp c++ -o xptcinvoke_arm.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DEXPORT_XPTC_API -I../../../../../../dist/include/xpcom -I../../../../../../dist/include -I/build/buildd/mozilla-thunderbird-1.0.6/build-dir/mozilla/dist/include/nspr -I/usr/include -I./../.. -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -O2 -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h -Wp,-MD,.deps/xptcinvoke_arm.pp xptcinvoke_arm.cpp xptcinvoke_arm.cpp:139: error: extra ';' make[8]: *** [xptcinvoke_arm.o] Error 1 See full build log: http://experimental.debian.net/fetch.php?&pkg=mozilla-thunderbird&ver=1.0.6-3etch2&arch=arm&stamp=1127923033&file=log&as=raw Expected Results: Should compile properly Full build log is here: http://experimental.debian.net/fetch.php?&pkg=mozilla-thunderbird&ver=1.0.6-3etch2&arch=arm&stamp=1127923033&file=log&as=raw
Assignee: mscott → dougt
Status: UNCONFIRMED → NEW
Component: Build Config → XPCOM
Ever confirmed: true
Product: Thunderbird → Core
QA Contact: chase → xpcom
Version: unspecified → 1.0 Branch
Attachment #199438 - Flags: review?(shaver)
Attachment #199438 - Flags: approval1.8rc1?
Comment on attachment 199438 [details] [diff] [review] Patch, for review this works for me without the patch (using OE to build), but the patch seams fine.
Attachment #199438 - Flags: review?(shaver) → review+
Attachment #199438 - Flags: approval1.8rc1? → approval1.8rc1+
Fixed, trunk and 1.8 branch.
Status: NEW → RESOLVED
Closed: 21 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: