Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Building packages, problems with printf
@ 2001-03-25 21:02 Matthew Wilcox
  2001-03-25 23:03 ` Alan Modra
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2001-03-25 21:02 UTC (permalink / raw)
  To: parisc-linux

Something we've been running into when building packages is the problem
that printf is defined as a macro when using gcc 2.97.  This should be
resolved by doing the following:

#include <stdio.h>
#undef printf

fixing glibc to not do that seems to not be an option.  ANSI explicitly
allows any of the functions in libc to also be defined as macros.

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-04-04  1:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-25 21:02 [parisc-linux] Building packages, problems with printf Matthew Wilcox
2001-03-25 23:03 ` Alan Modra
2001-03-25 23:11   ` Matthew Wilcox
2001-03-25 23:42   ` Alan Cox
2001-03-25 23:44     ` Matthew Wilcox
2001-04-04  1:47   ` Steve Beattie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox