Jose E. Marchesi wrote:
> I think in this case it is better to not use the xalloc module in
> libpoke at all.
This looks feasible: There are not many references to functions like
xmalloc in libpoke.
pkl-ast.c:116: PKL_AST_STRING_POINTER (new) = xstrdup (str);
pkl-ast.c:131: PKL_AST_IDENTIFIER_P
> Hannes Domani wrote:
>> When I'm trying to (statically) link libpoke into gdb, I get the following
>> errors:
>>
>> ... gl-libpoke/xmalloc.c:44: multiple definition of `xmalloc'; alloc.o
>> ... gdb/alloc.c:49: first defined here
>>
>> Both gdb and gl-libpoke define these x* allocation functi
Hannes Domani wrote:
> When I'm trying to (statically) link libpoke into gdb, I get the following
> errors:
>
> ... gl-libpoke/xmalloc.c:44: multiple definition of `xmalloc'; alloc.o
> ... gdb/alloc.c:49: first defined here
>
> Both gdb and gl-libpoke define these x* allocation functions, and I'