Hi, let see if someone can put me in the right direction.

I'm having now this issue compiling ape/lib/sec (/sys/src/libsec
is modified):

pcc -FTVw -c -+ -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../../../../libmp/port -I. 
-I/sys/include/ape -I/sys/include ../../../../libsec/port/tlshand.c
/sys/src/ape/lib/sec/port/../../../../libsec/port/tlshand.c:2896[stdin:5401] 
function args not checked: setrealloctag

So I thought setrealloctag is not been declared, so I added it to
the local libc.h (/sys/src/ape/lib/sec/port/libc.h):

[...]
extern  void    setmalloctag(void*, ulong);
extern  void    setrealloctag(void*, uintptr);
extern  ulong   getcallerpc(void*);
[...]

But now:

pcc -FTVw -c -+ -D_POSIX_SOURCE -D_PLAN9_SOURCE -I../../../../libmp/port -I. 
-I/sys/include/ape -I/sys/include ../../../../libsec/port/des.c
/sys/src/ape/lib/sec/port/./libc.h:173[stdin:1533] mixed ansi/old function 
declaration: setrealloctag

I'm missing something about how ape is importing the headers, any hint?

Regards,
adr.

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T5d3998509603ebde-Mccca41b19d6ae0ccc0c716b5
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to