[Pkg-leofs-devel] Bug#707364: erlang-cherly: FTBFS: stdio2.h:140:1: error: expected identifier or '(' before '{' token
Andrey Rahmatullin
wrar at wrar.name
Thu May 23 19:40:24 UTC 2013
Control: tags -1 + upstream
On Thu, May 09, 2013 at 09:47:12AM +0200, Lucas Nussbaum wrote:
> > In file included from /usr/include/stdio.h:937:0,
> > from c_src/lru.c:5:
> > /usr/include/x86_64-linux-gnu/bits/stdio2.h:140:1: error: expected identifier or '(' before '{' token
The code in stdio2.h:
__fortify_function int
dprintf (int __fd, const char *__restrict __fmt, ...)
{
The code in c_src/lru.c:
#include "common.h"
#include <stdio.h>
And the code in c_src/common.h:
#ifdef DEBUG
#define dprintf(format, args...) printf (format , ## args)
#else
#define dprintf(format, args...)
#endif
So it's a name clash between dprintf macro from c_src/common.h and
dprintf(3) function from glibc/POSIX (they also do totally different
things).
--
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-leofs-devel/attachments/20130524/064ab194/attachment.pgp>
More information about the Pkg-leofs-devel
mailing list