Bug 2392 - Muffle gcc4 sentinel check
Summary: Muffle gcc4 sentinel check
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xaw (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 02:19 UTC by Egbert Eich
Modified: 2005-01-26 07:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
see above (patch supplied by Marcus Meissner) (2.94 KB, patch)
2005-01-27 02:20 UTC, Egbert Eich
no flags Details | Splinter Review

Description Egbert Eich 2005-01-27 02:19:44 UTC
gcc4 has a check for a sentinel (trailing NULL) in a varargs list.
XawIM.c contains vararg function calls where this check fails.
Attached patch will fix it.
Comment 1 Egbert Eich 2005-01-27 02:20:42 UTC
Created attachment 1758 [details] [review]
see above (patch supplied by Marcus Meissner)
Comment 2 Egbert Eich 2005-01-27 02:22:50 UTC
Committed:
2005-01-27  Egbert Eich  <eich-at-freedesktop-dot-org>

        * lib/Xaw/XawIm.c: (SizeNegotiation), (CreateIC), (SetICValues):
        Muffle gcc4 sentinel (trailing NULL in varargs list) check
        (Marcus Meissner, Bugzilla #2392).



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.