Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Why does C allow structs to have a tag? Date: Fri, 30 Jul 2021 15:34:35 -0700 Organization: None to speak of Lines: 41 Message-ID: <875ywrctxg.fsf@nosuchdomain.example.com> References: <1mgMI.17475$6j.16299@fx04.iad> <87zgu6f367.fsf@nosuchdomain.example.com> <87v94tg8sw.fsf@nosuchdomain.example.com> <87mtq5f92k.fsf@nosuchdomain.example.com> <20210730075445.167@kylheku.com> <878s1neknd.fsf@nosuchdomain.example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="61d113eba2ad0840c9cee617d249c5be"; logging-data="29137"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xcvyJ4cwT9jFtDPHJvfis" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:U2wuLeKtVzCxnuSp2mrRprtmLhw= sha1:XBvjK4jII33Ba5I7zvEQhTLEEE4= Xref: csiph.com comp.lang.c:162148 Bart writes: [...] > For the record, my current 'gcc' that I use on plain Windows is this > product: > > https://jmeubank.github.io/tdm-gcc/download/ https://jmeubank.github.io/tdm-gcc/about/ : TDM-GCC is a compiler suite for Windows. It combines the most recent stable release of the GCC compiler, a few patches for Windows-friendliness, and the free and open-source MinGW.org or MinGW-w64 runtime APIs, to create a more lightweight open-source alternative to Microsoft’s compiler and platform SDK. TDM-GCC is not a compiler. TDM-GCC is not gcc. TDM-GCC is not produced or maintained by the gcc project. TDM-GCC is a software package that combines a compiler (gcc) and other components (MinGW runtime libraries, probably other things) into a C implementation. Other software packages might combine the gcc compiler with other runtime library implementations. For example, there are packages that combine the gcc compiler with Microsoft's runtime library. If any of the above is inaccurate, Bart, I encourage you to correct me. You seem to imply that TDM-GCC gives you an implementation that by default uses the obsolete MSVCRT.DLL, and therefore does not support "%zu". I find that at least mildly surprising. I might install it myself over the weekend to see what's going on. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips void Void(void) { Void(); } /* The recursive call of the void */