Bug 534 - Fontconfig 2.2.93 compilation error
Summary: Fontconfig 2.2.93 compilation error
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
Depends on:
Reported: 2004-04-22 08:24 UTC by Peter Kovar
Modified: 2004-05-05 02:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

define ABS MAX MIN macros used in APPROXIMATELY_EQUAL macro (615 bytes, patch)
2004-04-22 08:26 UTC, Peter Kovar
Details | Splinter Review

Description Peter Kovar 2004-04-22 08:24:07 UTC
Compilation problem in the latest CVS fontconfig
sources with APPROXIMATELY_EQUAL macro using undefined ABS MAX MIN

../src/.libs/libfontconfig.so: undefined reference to `MAX'
../src/.libs/libfontconfig.so: undefined reference to `ABS'
../src/.libs/libfontconfig.so: undefined reference to `MIN'

Peter Kovář
50 65 74 65 72 20 4B 6F 76 C3 A1 C5 99
Comment 1 Peter Kovar 2004-04-22 08:26:31 UTC
Created attachment 225 [details] [review]
define ABS MAX MIN macros used in APPROXIMATELY_EQUAL macro
Comment 2 Peter O'Shea 2004-05-06 11:50:05 UTC
I'm seeing this too, compiling on sparc Solaris 8.
Comment 3 Keith Packard 2004-05-06 12:30:02 UTC
I just replaced the macros with fontconfig-specific ones which avoids the
accidental dependence on the FreeType provided macros.

This change is in CVS and will be in the next release.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.