Re: [Tinycc-devel] struct bug: identical named struct members

2020-11-29 Thread Michael Matz
Hello, On Sun, 29 Nov 2020, Tyge Løvset wrote: > Mostly because of the T in tiny c compiler and because no profiling > shows field lookup to be a problem :) I have to disagree with this assessment. I only found this bug after debugging myself. Sure, I agree the missing check for duplicates i

Re: [Tinycc-devel] Building sudo?

2020-11-29 Thread Christian Jullien
I’m beginning to understand your problem, you need ar and no one is present (or found). Questions: - What is exactly your build system? Linux family , version, etc… - Why can’t you install binutils which contains ld, ar and such? - Sometimes, ar is called gar or gcc-

[Tinycc-devel] IDE for Tiny C Compiler

2020-11-29 Thread Дмитрий
https://yadi.sk/d/njkqYATzThqQ9Ahttps://www.youtube.com/watch?v=pwnLYZZ008A  -- С уважением, Дмитрий.  ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] struct bug: identical named struct members

2020-11-29 Thread Tyge Løvset
Hi Michael, >> I guess there as many map implementations as there are C developers :-) > > Though I should say that yours from C99Containers look nice to use, > despite the macros-as-template hell in the implementation :-) Thanks! Well after some time, it became second nature to program like that

Re: [Tinycc-devel] Building sudo?

2020-11-29 Thread James Mills
But just to be sure, I did it again by hand just like what you described => https://gist.github.com/prologic/8b3b6bff539a1f070e145200c33c971a Perhaps as you suggested we make tcc ignore some flags? James Mills / prologic E: prolo...@shortcircuit.net.au W: prologic.shortcircuit.net.au Blog: Rea

Re: [Tinycc-devel] Building sudo?

2020-11-29 Thread James Mills
That doesn't work :/ ./configure is expecting to find an `ar` utility => https://gist.github.com/prologic/91c8be731d45446bc40987958ee75403 cheers James James Mills / prologic E: prolo...@shortcircuit.net.au W: prologic.shortcircuit.net.au Blog: Read my Blog Twtxt: Fo

Re: [Tinycc-devel] struct bug: identical named struct members

2020-11-29 Thread Christian Jullien
Hello, Structures "generally" have around 10 to 20 variables. There is also cases where there are huge when they collect all "global" variables of a lib. This append for example if you need multiple instance of the same lib, each having its own state. Doing so has the advantage to put variables c