tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] /usr/include/syslog.h:68: error: invalid type #24


From: Steffen Nurpmeso
Subject: Re: [Tinycc-devel] /usr/include/syslog.h:68: error: invalid type #24
Date: Wed, 15 Apr 2020 17:18:16 +0200
User-agent: s-nail v14.9.17-63-g444b76e3

Steffen Nurpmeso wrote in
<address@hidden>:
 |Michael Matz wrote in
 |<address@hidden>:
 ||On Wed, 15 Apr 2020, James Mills wrote:
 ||> I am trying to understand this "invalid type" I keep getting when \
 ...
 |However, it seems you need more for libressl, so i added for
 |tinycc a new internal header in include/, syslog.h:
 |
 |  #ifndef _TINY_SYSLOG_H
 |  #define _TINY_SYSLOG_H
 |
 |  #include <stdarg.h>
 |  #include <syslog.h>
 |
 |  #endif /* _TINY_SYSLOG_H */
 |
 |because musl plays around with va_list in syslog.h.

Actually we also need at the end of include/stdarg.h a "#define
__DEFINED_va_list" so that it is not redefined.  I have no more
musl here, only on the VM, sorry, forgot to copy that over to
here.  Out now.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]