Re: [Tinycc-devel] [PATCH] improving solaris/illumos support

2022-02-20 Thread Christian Jullien
Hello David, Funny, I considered to try this port last year, unfortunately my Solaris VM is broken I only have true Solaris 10 sparc machines (with of course No chances it works on a sparc CPU). What is the status of Solaris port after this patch? Does it works, I think you have some ELF reloc

[Tinycc-devel] [PATCH] improving solaris/illumos support

2022-02-20 Thread David CARLIER
Hi, here a patch to add this platform as a new target. From 38196801851fa941258360e5786d1ed45078d2fd Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 20 Feb 2022 18:57:58 + Subject: [PATCH] illumos/solaris improving support --- Makefile | 3 +++ configure | 19 +++-

Re: [Tinycc-devel] initializer overflow with arrays on implicit size

2022-02-20 Thread Christian Jullien
If it helps maintainers, changing the code to struct A a[] = { {1}, {2}, }; Compiles and works. As does: struct A b[2] = { (struct A){1}, (struct A){2}, }; Maybe the cast adds extra alignment From: Tyge Løvset [mailto:tylov...@gmail.com] Sent: Sunday, February 20, 2022 16:23 To

Re: [Tinycc-devel] initializer overflow with arrays on implicit size

2022-02-20 Thread Tyge Løvset
I have reported this before and tried a bit to debug without success. Very annoying. Only useful info I can give is that is does not happen on GCC compiled on windows, but everywhere else. Might suggest uninitialized memory. lør. 12. feb. 2022, 07:20 skrev Christian Jullien : > Important precisio