Closed Bug 201790 Opened 22 years ago Closed 22 years ago

Galeon installation crashes because of serious flaw in string/nsCharTraits.h

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: deleted48206, Assigned: blizzard)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030412 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030412 Here is the error mesg: In file included from /opt/mozilla/include/mozilla-1.4a/string/nsAString.h:36, from /opt/mozilla/include/mozilla-1.4a/string/nsString2.h:54, from /opt/mozilla/include/mozilla-1.4a/string/nsString.h:54, from BaseProtocolHandler.h:24, from BaseProtocolHandler.cpp:24: /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:383: ISO C++ forbids declaration of `difference_type' with no type /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:383: `::difference_type ' is not a valid declarator /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:383: parse error before `;' token /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:409: ISO C++ forbids declaration of `value_type' with no type /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:409: `::value_type' is not a valid declarator /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:409: parse error before `*' token /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:417: type specifier omitted for parameter `difference_type' /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:417: parse error before `)' token /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:418: ISO C++ forbids defining types within return type /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:418: two or more data types in declaration of `advance' /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:418: semicolon missing after declaration of `struct nsCharSourceTraits<InputIterator>' /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:421: parse error before `}' token /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:473: non-template type `nsCharSourceTraits' used as a template /opt/mozilla/include/mozilla-1.4a/string/nsCharTraits.h:474: confused by earlier errors, bailing out make[2]: *** [BaseProtocolHandler.lo] Fehler 1 make[2]: Leaving directory `/workspace/software/gnome/GNOME2.3/galeon-1.3.3/mozilla' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/workspace/software/gnome/GNOME2.3/galeon-1.3.3' make: *** [all] Fehler 2 Reproducible: Always Steps to Reproduce: 1. Download Galeon 1.3.3 2. Start installation 3. Wait and see
which compiler ?
Did you pull a new mozilla without rerunning configure? Is mozilla-config.h being included as part of the build process?
Great. Are we requiring mozilla-config.h now?
As far as I know we've always required mozilla-config.h. We use autoconf to test for tons of compiler bugs and system features. But it's possible that some things might have worked without it on some platforms in the past.
The information provided by mozilla-config.h/mozilla-config has always been required (ie, embeddors needed to set XP_PC or XP_UNIX to build correctly). We made mozilla-config.h the sanctioned method to get these defines in bug 163929 and made mozilla-config.h an explicit dependency of nscore.h in bug 200574.
This bug is pretty old. Is the problem solved by now? pi
Marking WORKSFORME due to age, and I don't think it's an issue anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.