Re: [Tinycc-devel] TCC seems to be confused by a structure field: how should I fix this?

2022-12-22 Thread Harry Yan
Hi gr, Much appreciated for the detailed illustration. With your help I understood where the problem lies very quickly and perfectly, saving me lots of time of debugging. Now that this is solved, I could continue compiling this file with TCC. Thanks a lot! Harry At 2022-12-22 21:24:26, "gr

Re: [Tinycc-devel] TCC seems to be confused by a structure field: how should I fix this?

2022-12-22 Thread grischka
On 22.12.2022 09:20, Harry Yan wrote: Hello, I am trying to build the SQLite3 command-line tool with TCC. It works well with GCC: $ gcc -c shell.c dirent.c (no complaints) However, TCC seems to be confused by a structure field: Hi, yes, seems, but is not in that case. Instead in that 'sh

Re: [Tinycc-devel] tcc produces incorrect output

2022-12-22 Thread Harry Yan
Hi Kyle, I think taking a look at the binary would help. See what code is generated for the line       static const struct squash bug = {(uintptr_t)(void *)"4321"}; Hope it helps, Harry ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https: