Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: memcpy not memcpying? Date: Sun, 03 Nov 2019 12:26:05 -0800 Organization: None to speak of Lines: 40 Message-ID: References: <2LVuF.7$BF1.0@fx26.iad> <6KfvF.57888$rJ1.57717@fx01.am4> <0DivF.23103$Q26.16540@fx34.am4> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="885fb82be1e12b29daafc6f7a8ced528"; logging-data="22510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EP7qrcR0wnFo1/cVNB4Yj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:0YopvGcQEdBnNBhDWQRld7cjW2o= sha1:fwQF+6k7FN5j+qaSOMwdz+9ufLo= Xref: csiph.com comp.lang.c:147553 Ian Collins writes: > On 04/11/2019 00:01, Bart wrote: >> On 03/11/2019 01:37, Ian Collins wrote: >>> On 03/11/2019 12:47, Bart wrote: >>>> On 02/11/2019 22:59, Keith Thompson wrote: >>>>> Bart writes: >>>> >>>>> And yet you continue to whine about it.  Have fun with that. >>>> >>>> David Brown was trying to put the blame for the non-support of zu on >>>> tcc, for which he has demonstrated a very poor opinion. >>>> >>>> I'm pointing out that my 500x bigger gcc installation has exactly same >>>> problem. >>> >>> Which is an old Windows library... >> >> Even for the recommended, freshly installed mingw-w64. Why is that? > > I have no idea, I don't use Windows. I don't, but many of my colleagues > do use Visual Studio and our code base plenty of uses of %zu, so there > must be more up to date "native" Windows libraries. Confirmed, with Visual Studio 2019, printf does support "%zu". According to , support for "%zu" was introduced in VS2013 (_MSC_VER >= 1800). Bart probably has an older version of Microsoft's C runtime. Of course it has nothing to do with the compiler he's using. Presumably a fresh installation of MinGW-w64 will use whatever existing C runtime is already on the system. (BTW, I'll be using Visual Studio in my new job. Speaking of which, **I got a new job!**) -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */