It's possible to compile targets without a gfx back-end

UNCONFIRMED
Unassigned

Status

Core Graveyard
GFX
--
minor
UNCONFIRMED
10 years ago
10 years ago

People

(Reporter: cwiiis, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.2) Gecko/2008092313 Ubuntu/8.04 (hardy) Firefox/3.0.2
Build Identifier: 

gfxPlatform::init in gfx/thebes/src/gfxPlatform.cpp has an #if/#elif block to initialise the platform, depending on which has been configured to build. It's possible for this block to fall through and not initialise a platform if none has been configured. In this case, the build will complete, but when running the target, it'll fail when trying to get the nsGfxFactory.

Most of the other #if/#elif blocks in the code have a final case that #error's out and stops things like this occuring. I suggest that this block should have one also.

Reproducible: Always
(Assignee)

Updated

10 years ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.