0.23.0 + mozilla-1.4a + galeon : compile error



Hello.

Garnome 0.23.0 work beautifully for me, but I have just noticed that
that Galeon is missing. I changed the --with-mozilla-shapshot configure
parameter to 'mozilla-1.4a' (works great, BTW). Unfortunately galeon
failed to compile:

g++ <snip> -c BaseProtocolHandler.cpp  -fPIC -DPIC -o BaseProtocolHandler.lo
In file included from
/usr/local/garnome-0.23.0/include/mozilla-1.4a/string/nsAString.h:36,
                 from
/usr/local/garnome-0.23.0/include/mozilla-1.4a/string/nsString2.h:54,
                 from
/usr/local/garnome-0.23.0/include/mozilla-1.4a/string/nsString.h:54,
                 from BaseProtocolHandler.h:24,
                 from BaseProtocolHandler.cpp:24:
/usr/local/garnome-0.23.0/include/mozilla-1.4a/string/nsCharTraits.h:383:
ISO
   C++ forbids declaration of `difference_type' with no type
<snip>

g++ on my system is:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
--enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 20030331 (Debian prerelease)

I'm running fairly recent Debian unstable.

Any ideas?
R.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]