[parisc-linux] Building packages, problems with printf

Matthew Wilcox matthew@wil.cx
Sun, 25 Mar 2001 22:02:23 +0100


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.