Closed Bug 216574 Opened 21 years ago Closed 21 years ago

Build fails with gcc 2.95.3

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: tulipawn, Assigned: bryner)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030818 Mozilla Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030818 Mozilla Firebird/0.6.1+

I tried build to build Firebird from today's CVS but I get this error:

In file included from nsSingleSignonPrompt.cpp:39:
nsSingleSignonPrompt.h:45: parse error before `{'

I had no problems building from the same source with gcc 3.2.3.





Reproducible: Always

Steps to Reproduce:
1.
2.
3.
-> Firebird
Assignee: mozbugs-build → bryner
Component: Build Config → build-config
Product: Browser → Firebird
QA Contact: asa
Version: Trunk → unspecified
After commenting the following options

#ac_add_options --disable-pedantic
#ac_add_options --disable-cpp-rtti
#ac_add_options --disable-cpp-exceptions

there are new warnings and the build fails as before:


nsSingleSignonPrompt.cpp:39: warning: carriage return in preprocessing directive
In file included from nsSingleSignonPrompt.cpp:39:
nsSingleSignonPrompt.h:39: warning: carriage return in preprocessing directive
In file included from nsSingleSignonPrompt.cpp:39:
nsSingleSignonPrompt.h:40: warning: carriage return in preprocessing directive
In file included from nsSingleSignonPrompt.cpp:39:
nsSingleSignonPrompt.h:41: warning: carriage return in preprocessing directive
In file included from nsSingleSignonPrompt.cpp:39:
nsSingleSignonPrompt.h:44: warning: carriage return in preprocessing directive
nsSingleSignonPrompt.cpp:40: warning: carriage return in preprocessing directive
nsSingleSignonPrompt.cpp:41: warning: carriage return in preprocessing directive
In file included from nsSingleSignonPrompt.cpp:39:
nsSingleSignonPrompt.h:45: parse error before `{'
Builds fine again.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
verified
Status: RESOLVED → VERIFIED
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.