bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3652: Info received (bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribu


From: Yavor Doganov
Subject: bug#3652: Info received (bug#3652: FTBFS: nsfont.m: 'NSFontTraitsAttribute' undeclared)
Date: Fri, 26 Jun 2009 01:43:21 +0300
User-agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.3 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

reopen 3652
found 3652 23.0.95
thanks

I'm not sure why this bug got closed.  Regardless of what I said about
gNewSense and its lack of NSFontDescriptor implementation, the GNUstep
port of Emacs still fails to build on a fairly modern Debian system
with the latest GNUstep stable release installed:

$ dpkg -l libgnustep-gui-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libgnustep-gui 0.16.0-2       GNUstep GUI header files and static librarie

This is only because the type definitions and method declarations are
in NSFontDescriptor.h, which is not included neither from AppKit.h nor
from the related NSFont headers.  A simple #import of this header in
nsfont.m fixes this.  Not an Emacs bug, I believe, but easy to
workaround, at least temporarily.

The specific error message follows.

nsfont.m: In function ‘ns_attribute_fvalue’:
nsfont.m:117: error: ‘NSFontTraitsAttribute’ undeclared (first use in this func\
tion)
nsfont.m:117: error: (Each undeclared identifier is reported only once
nsfont.m:117: error: for each function it appears in.)
nsfont.m: In function ‘ns_spec_to_descriptor’:
nsfont.m:148: error: ‘NSFontWeightTrait’ undeclared (first use in this function\
)
nsfont.m:152: error: ‘NSFontSlantTrait’ undeclared (first use in this function)
nsfont.m:156: error: ‘NSFontWidthTrait’ undeclared (first use in this function)


nsfont.m:158: error: ‘NSFontTraitsAttribute’ undeclared (first use in this func\
tion)
nsfont.m:160: warning: no ‘+fontDescriptorWithFontAttributes:’ method found
nsfont.m:160: warning: (Messages without a matching method signature
nsfont.m:160: warning: will be assumed to return ‘id’ and accept
nsfont.m:160: warning: ‘...’ as arguments.)
nsfont.m:162: warning: no ‘-fontDescriptorWithFamily:’ method found
nsfont.m: In function ‘ns_descriptor_to_entity’:
nsfont.m:173: error: ‘NSFontFamilyAttribute’ undeclared (first use in this func\
tion)
nsfont.m:175: warning: no ‘-symbolicTraits’ method found
nsfont.m:175: warning: initialization makes integer from pointer without a cast
nsfont.m:185: error: ‘NSFontBoldTrait’ undeclared (first use in this function)
nsfont.m:190: error: ‘NSFontItalicTrait’ undeclared (first use in this function\
)
nsfont.m:195: error: ‘NSFontCondensedTrait’ undeclared (first use in this funct\
ion)
nsfont.m:195: error: ‘NSFontExpandedTrait’ undeclared (first use in this functi\
on)
nsfont.m:204: warning: no ‘-symbolicTraits’ method found
nsfont.m:175: warning: initialization makes integer from pointer without a cast
nsfont.m:185: error: ‘NSFontBoldTrait’ undeclared (first use in this function)
nsfont.m:190: error: ‘NSFontItalicTrait’ undeclared (first use in this function\
)
nsfont.m:195: error: ‘NSFontCondensedTrait’ undeclared (first use in this funct\
ion)
nsfont.m:195: error: ‘NSFontExpandedTrait’ undeclared (first use in this functi\
on)
nsfont.m:204: warning: no ‘-symbolicTraits’ method found
nsfont.m:204: error: ‘NSFontMonoSpaceTrait’ undeclared (first use in this funct\
ion)
nsfont.m: In function ‘ns_findfonts’:
nsfont.m:477: warning: no ‘-fontAttributes’ method found
nsfont.m:479: error: ‘NSFontFamilyAttribute’ undeclared (first use in this func\
tion)
nsfont.m:481: warning: no ‘-matchingFontDescriptorsWithMandatoryKeys:’ method f\
ound
nsfont.m:494: error: ‘NSFontSlantTrait’ undeclared (first use in this function)
nsfont.m:503: error: ‘NSFontItalicTrait’ undeclared (first use in this function\
)
nsfont.m:503: warning: no ‘-fontDescriptorWithSymbolicTraits:’ method found
nsfont.m:504: warning: no ‘-fontDescriptorWithFamily:’ method found
nsfont.m: In function ‘nsfont_open’:
nsfont.m:670: error: ‘NSFontWeightTrait’ undeclared (first use in this function\
)
nsfont.m:672: error: ‘NSFontSlantTrait’ undeclared (first use in this function)
nsfont.m:797: warning: incompatible implicit declaration of built-in function ‘\
lrint’
nsfont.m: In function ‘ns_glyph_metrics’:
nsfont.m:1375: warning: incompatible implicit declaration of built-in function \
‘lrint’
nsfont.m:1380: warning: incompatible implicit declaration of built-in function \
‘round’
make[1]: *** [nsfont.o] Error 1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]