[Bug 1865] extend snprintf to work on NULL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 3 01:52:00 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to            
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=1865          
     

ago at freedesktop.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From ago at freedesktop.org  2005-02-03 01:52 -------
Report from Felix Kühling:

This commit broke the build for me, even with your later fix of the link
order. The problem is that os/xprintf.c is built with -ansi -pedantic.
In this case va_copy is not defined as a macro by stdarg.h (using
gcc-3.3.4 and gcc-3.3.5) and is missing when Xorg is finally linked. 

va_copy not being defined is not a new problem, I found it in an older
build log I had hanging around. The error was never found before because
no other object linked into Xorg used Xprintf before this commit. So
xprintf.o (from libos.a) was never linked. I'm not sure what the proper
fix would be. Either change the compiler flags or avoid using va_copy in
xprintf.c.

--

according to bug #347 va_copy is defined as __va_copy          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list