bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: Re: inttypes: Fix PRI*PTR and SCN*PTR on 64-bit native Windows
Date: Mon, 24 Aug 2020 00:52:57 +0200	[thread overview]
Message-ID: <5915466.QXzVPdglRE@omega> (raw)
In-Reply-To: <2485981.z5oBFNaXNf@omega>

> 2020-07-21  Bruno Haible  <bruno@clisp.org>
> 
> 	inttypes: Fix PRI*PTR and SCN*PTR on 64-bit native Windows.
> 	* m4/inttypes.m4 (gl_INTTYPES_PRI_SCN): On 64-bit native Windows, make
> 	sure PRIPTR_PREFIX is defined to "ll", not "l".

Oops, there was a typo in this patch, leading to PRIdPTR = "lld" instead of "ld"
on 32-bit native Windows.


2020-08-23  Bruno Haible  <bruno@clisp.org>

	inttypes: Fix {PRI,SCN}*PTR on 32-bit native Windows (regr. 2020-07-21).
	* m4/inttypes.m4 (gl_INTTYPES_PRI_SCN): Fix syntax error in test
	program.

diff --git a/m4/inttypes.m4 b/m4/inttypes.m4
index 28bac81..84b1654 100644
--- a/m4/inttypes.m4
+++ b/m4/inttypes.m4
@@ -1,4 +1,4 @@
-# inttypes.m4 serial 31
+# inttypes.m4 serial 32
 dnl Copyright (C) 2006-2020 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -44,7 +44,7 @@ AC_DEFUN([gl_INTTYPES_PRI_SCN],
          #ifdef _WIN64
          LLP64
          #endif
-         ]]),
+         ]])
       ],
       [PRIPTR_PREFIX='"l"'],
       [PRIPTR_PREFIX='"ll"'])



      reply	other threads:[~2020-08-23 22:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21  7:56 inttypes: Fix PRI*PTR and SCN*PTR on 64-bit native Windows Bruno Haible
2020-08-23 22:52 ` Bruno Haible [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5915466.QXzVPdglRE@omega \
    --to=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).