infinity0/firefox-gnome-keyring — Issue #3: Fails to build with XULRunner 9
Author: fat-lobyte
Created: 2011-12-23 18:07:44+00:00
State: open

Fails to build with XULRunner 9 on Fedora 16 with GCC 4.6.2.

```$ make
test -n libxul || { echo "libxul missing" && false; }
g++ GnomeKeyring.cpp -g -Wall -o libgnomekeyring.so \
`pkg-config --cflags libxul gnome-keyring-1` -DMOZ_NO_MOZALLOC `pkg-config --libs libxul | sed 's/xpcomglue_s/xpcomglue_s_nomozalloc/' | sed 's/-lmozalloc//'` `pkg-config --libs gnome-keyring-1` -fno-rtti -fno-exceptions -shared -fPIC -g -std=gnu++0x \

/usr/include/xulrunner-sdk-2/nsISupportsBase.h: In function 'nsILoginInfo* foundToLoginInfo(GnomeKeyringFound*)':
/usr/include/xulrunner-sdk-2/nsISupportsBase.h:94:25: error: 'virtual nsrefcnt nsISupports::AddRef()' is inaccessible
GnomeKeyring.cpp:482:3: error: within this context
make: *** [libgnomekeyring.so] Error 1```

The XUL version is:
```$ rpm -q xulrunner-devel
xulrunner-devel-9.0-2.fc16.x86_64```