Bug 13699 - one macro prevents compiling Cairo as single translation unit
Summary: one macro prevents compiling Cairo as single translation unit
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.5.4
Hardware: x86 (IA32) All
: low minor
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 04:19 UTC by Pavel Vozenilek
Modified: 2007-12-17 05:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pavel Vozenilek 2007-12-17 04:19:47 UTC
I compile Cairo as single TU (including all *.c files in one).

One macro, STACK_BOXES_LEN, is defined in two source files, differently. These files should have #undef STACK_BOXES_LEN at the end of each file.
Comment 1 Chris Wilson 2007-12-17 05:50:30 UTC
I eliminated the duplicate macro by consolidating the users of CAIRO_STACK_BUF_SIZE with a single macro.

commit 8343d6cc2a5e9198e1205e431de018f74107d9d8


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.