[Ltrace-devel] trace.c - incorrect ifdef

Alex V. Breger osgxdvyg at gmail.com
Tue Nov 11 17:44:40 UTC 2008


Hello

I have a compiler error while compiling ltrace in
sysdeps/linux-gnu/trace.c file (version 1.3 Feb 17 2006), line 91
 #ifdef __sparc__ || defined __ia64__
According to C99 standard 6.10  #ifdef can be used only with one
identifier (not an expression), so please change this line to
 #if (defined __sparc__) || (defined __ia64__)

Thanks for ltrace!

-- 
WBR, Alex V Breger



More information about the Ltrace-devel mailing list