Broken #ifdef in nsCSSParser.cpp if --disable-xul used

RESOLVED FIXED

Status

()

Core
Layout: Form Controls
RESOLVED FIXED
16 years ago
15 years ago

People

(Reporter: Kevin D. Kissell, Assigned: rods (gone))

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
mozilla/content/html/style/src/nsCSSParser.cpp
cannot be compiled if INCLUDE_XUL is not defined,
as is the case if --disable-xul is used at configure
time.  At first glance, this would appear to be due
to the #ifdef/#endif bracketing the curly brace
at line 2193 of the file (in the 1.0 sources).
Looking at the code, it looks to me as if that
brace needs to be there regardless of the state
of INCLUDE_XUL.  If I remove the #ifdef/#endif,
the module compiles.

Comment 1

15 years ago
Kevin, is this still a problem with the latest release/build's source code?
related: bug 69995
This got fixed long ago by part of the patch for bug 35768
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.