I dunno what you guys did here[1] but you've solved all my compilation
problems related to syslog.h :D Thank you!
(I'm not a C dev by any stretch of the imagination!)

I can now close all issues related to this in
https://github.com/prologic/ulinux :)

Thanks!

Kind regards

James

[1]:
https://github.com/mirror/tinycc/commit/245f6a0d1392a2862a0a1d2f3705197f92452569

James Mills / prologic

E: prolo...@shortcircuit.net.au
W: prologic.shortcircuit.net.au


On Thu, Apr 16, 2020 at 8:23 AM Steffen Nurpmeso <stef...@sdaoden.eu> wrote:

> Michael Matz wrote in
> <alpine.lsu.2.21.2004152211130.9...@hell6.fritz.box>:
>  |On Wed, 15 Apr 2020, Michael Matz wrote:
>  ...
>  |So, I've dusted off an old patch of mine that overhauls how TCC is doing
>  |stdarg.h support.  mob at 2f943902 has it.  In particular our own
> stdarg.h
>
> Very cool!
>
>   +    if (!is_asm && s1->output_type != TCC_OUTPUT_PREPROCESS)
>   +        cstr_cat(&cstr, "#include \"tcc_predefs.h\"\n", -1);
>
> That is it!  Great!  I tried to fool around to get the va thing
> defined as a real type somewhere in the code base for an entire
> afternoon, but simply enforcing the load of some special tcc
> internal file is much easier.
>
>   I was hoping for some kind of #include_next indeed, without ever
>   being motivated enough to look in the codebase i have no plan
>   of.  Like i said back in 2017 or so after grischka reverted that
>   tccinclude commit of mine, i never understood why compilers
>   install a tremendous load of internal headers which shadow or
>   provide standard headers, like stdarg.h, but if you sprinkle
>   #error's you note they never get even loaded.  Either you need
>   it for proper functioning or not, i do not understand.  But
>   granted the patch was much worse than what you are doing now!
>
>  |Would be nice if you could check that on ulinux and libressl :)
>
> Works much better now, great!  Thank you.  I hope he gets it done,
> ulinux could be a really easy VM server thing for me.
> (Unfortunately he removed a shell confirmation prompt() function
> that was really neat; at least that function was in a pasteboard
> thing i have seen.)
>
> --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)
>
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to