[Ltrace-devel] Lacking <inttypes.h> include.

Adam Malinowski a.malinowsk2 at partner.samsung.com
Thu Oct 24 08:38:12 UTC 2013


Hi.

Include "inttypes.h" in" sysdeps/linux-gnu/trace.c" file. 

Some compilers don't care about it but some say:

 

trace.c: In function 'linux_elf_add_plt_entry_irelative':

trace.c:1277:31: error: expected ')' before 'PRIx64'

trace.c:1278:4: error: conversion lacks type at end of format
[-Werror=format]

 

Adding #include <inttypes.h> solves this problem.

 

Thanks

Adam Malinowski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20131024/7b0f9a74/attachment.html>


More information about the Ltrace-devel mailing list