firegpg FTBFS: xulrunner.../nsStringAPI.h: size of array 'arg' is negative
Bug #515872 reported by
Kamal Mostafa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FireGPG |
New
|
Undecided
|
Unassigned | ||
firegpg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
make[2]: Entering directory `/build/
c++ -Wall -Wconversion -Wpointer-arith -Woverloaded-
In file included from ../src/
/usr/include/
Related branches
lp:~kamalmostafa/ubuntu/lucid/firegpg/fix-515872-ftbfs
- Ubuntu branches: Pending requested
-
Diff: 60 lines (+12/-2)4 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/ipc-build/build/Makefile (+2/-1)
debian/ipc-build/src/Makefile (+1/-0)
Changed in firegpg (Ubuntu): | |
assignee: | nobody → Benjamin Drung (bdrung) |
To post a comment you must log in.
The cryptic "size of array 'arg' is negative" error is caused by this protection assert in a xulrunner header file:
nsStringAPI.h:1054: PR_STATIC_ ASSERT( sizeof( wchar_t) == 2);
The comment a few lines above explains:
* NOTE: HAVE_CPP_ 2BYTE_WCHAR_ T may be automatically defined for some platforms
* in nscore.h. On other platforms, it may be defined in xpcom-config.h.
* Under GCC, this define should only be set if compiling with -fshort-wchar.