[Ltrace-devel] trace.c - incorrect ifdef

Juan Céspedes cespedes at debian.org
Wed Dec 10 18:18:09 UTC 2008


On Tue, Nov 11, 2008 at 6:44 PM, Alex V. Breger <osgxdvyg at gmail.com> wrote:
> 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__)

That was fixed on Feb 20th, 3 days after it was introduced :)

Please be sure to use the latest version of ltrace, which is now in GIT
(http://git.debian.org/git/collab-maint/ltrace.git)

Thanks,

-- 
Juan Cespedes
http://www.cespedes.org/



More information about the Ltrace-devel mailing list