Bug 2925 - Avoid clash with system #define'd printf
Summary: Avoid clash with system #define'd printf
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.8.2
Hardware: All All
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 13:31 UTC by Kristian Høgsberg
Modified: 2011-10-15 15:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to use __printf__ attribute instead (2.11 KB, patch)
2005-04-07 13:33 UTC, Kristian Høgsberg
krh: 6.8-branch?
Details | Splinter Review

Description Kristian Høgsberg 2005-04-07 13:31:08 UTC
Newer glibc #define's printf which clashes with the preprocessor tricks in
xf86.h.  The attached patch uses __printf__ in the gcc attributes instead.  The
patch is in HEAD and we've been shipping it in Fedora development for a while.
Comment 1 Kristian Høgsberg 2005-04-07 13:33:20 UTC
Created attachment 2348 [details] [review]
Patch to use __printf__ attribute instead
Comment 2 Kristian Høgsberg 2005-04-07 13:33:51 UTC
Comment on attachment 2348 [details] [review]
Patch to use __printf__ attribute instead

Nominating for 6.8.3
Comment 3 Daniel Stone 2007-02-27 01:26:06 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 Adam Jackson 2007-11-16 16:58:29 UTC
This looks like it's no longer applicable to master.  Closing.


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.