Closed
Bug 241290
Opened 21 years ago
Closed 21 years ago
FreeType 2.1.8 compilation error again
Categories
(Core Graveyard :: GFX, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 234035
People
(Reporter: peter.kovar, Unassigned)
Details
User-Agent: Opera/7.50 (X11; Linux i686; U) [en]
Build Identifier:
Mozilla build failed with FreeType 2.1.8 released yesterday.
In file included from nsFreeType.h:55,
from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `GetImageCache' declared as
a `virtual' field
../../../dist/include/gfx/nsIFreeType2.h:53: warning: `visibility' attribute
ignored
../../../dist/include/gfx/nsIFreeType2.h:53: error: expected `;' before '('
token
../../../dist/include/gfx/nsIFreeType2.h:92: error: `ImageCacheLookup' declared
as a `virtual' field
../../../dist/include/gfx/nsIFreeType2.h:92: warning: `visibility' attribute
ignored
../../../dist/include/gfx/nsIFreeType2.h:92: error: expected `;' before '('
token
../../../dist/include/gfx/nsIFreeType2.h:104: error: `FTC_Image_Cache' has not
been declared
../../../dist/include/gfx/nsIFreeType2.h:104: error: ISO C++ forbids declaration
of `cache' with no type
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•21 years ago
|
||
Same error here.
Some more info about that bug... Looks like two changes in the FreeType API are causing this.
The first one is easy to change, FTC_Image_Cache (which was marked as deprecated for some time) is to be replaced with FTC_ImageCache (which has been available for a long time and the other one was only a typedef to it)
The other is more problematic : FTC_Image_Desc was marked as deprecated too, but has been replaced with FTC_ImageTypeRec, which has slightly different contents. I tried to change it but with little success for now as I'm not familiar with the code.
Comment 2•21 years ago
|
||
I also see this. http://forums.mozillazine.org/viewtopic.php?p=499615#499615
Comment 3•21 years ago
|
||
*** This bug has been marked as a duplicate of 234035 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•