Closed
Bug 255259
Opened 20 years ago
Closed 20 years ago
gfx/src/freetype/nsFreeType.cpp compile errors
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 234035
People
(Reporter: dflater, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20040618
Build Identifier: http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.2/src/mozilla-source-1.7.2.tar.bz2
Can't build the lizard because g++ barfs on this freetype related file.
Reproducible: Always
Steps to Reproduce:
Platform: Solaris 8, gcc/g++ 3.4.1, with freetype-2.1.9 installed.
bash-2.01$ export SHELL=/bin/ksh
bash-2.01$ ./configure \
--prefix=/depot/pub/mozilla-1.7.2 \
--enable-calendar \
--enable-xft \
--enable-crypto \
--disable-debug \
--enable-optimize
gmake (GNU make 3.80)
Actual Results:
Build runs for a long time and then...
gmake[4]: Entering directory `/private/tmp/mozilla/gfx/src/freetype'
nsFreeType.cpp
c++ -o nsFreeType.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -I../..
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/pref -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/gfx
-I../../../dist/include -I/private/tmp/mozilla/dist/include/nspr
-I/depot/pub/arch.sunos5.8/include/freetype2 -I/depot/pub/arch.sunos5.8/include
-I/usr/openwin/include -fPIC -I/usr/openwin/include -fno-rtti -fno-exceptions
-Wno-long-long -pedantic -fshort-wchar -pthreads -pipe -DNDEBUG -DTRIMMED -O
-I/usr/openwin/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
In file included from nsFreeType.h:39,
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
In file included from nsFreeType.cpp:48:
nsFreeType.h:107: error: typedef `FTC_Image_Cache_Lookup_t' is initialized (use
__typeof__ instead)
nsFreeType.h:107: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:107: error: `FTC_Image_Desc' was not declared in this scope
etc.
Expected Results:
Happy compile
I tried reconfiguring with --with-ft-prefix. It didn't help.
*** This bug has been marked as a duplicate of 234035 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•