patchGNU Autoconf Archive - Patches: patch #7787, New macro: AX_PRINTF_SIZE_T


patch #7787: New macro: AX_PRINTF_SIZE_T

Submitted by:  Daniel Richard G. <iskunk>
Submitted on:  Tue 29 May 2012 03:57:02 PM UTC  
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 15 Jun 2012 09:42:25 PM UTC, comment #1:

Pushed in commit b7a0eb4a3d89bf4686a22c56bcd2346b8f869d66. Thank you very much for the submission!

Peter Simons <simons>
Project AdministratorIn charge of this item.
Tue 29 May 2012 03:57:02 PM UTC, original submission:


DESCRIPTION: Check for the appropriate printf() format string modifier to use with a size_t argument. If a suitable modifier is found, it is AC_DEFINE'd as PRI_SIZE_T_MODIFIER, and can be used in C code as e.g.

printf("Size = %" PRI_SIZE_T_MODIFIER "u bytes.\n", sizeof(foo));

AUTHOR: Daniel Richard G. <skunk@iSKUNK.ORG>

LICENSE: Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

SOURCE CODE: See attached.

Daniel Richard G. <iskunk>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #25951:  ax_printf_size_t.m4 added by iskunk (2KiB - application/x-m4)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by iskunk (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Sep 2012 09:01:50 PM UTCsimonsStatusReady For Test=>Done
    Fri 15 Jun 2012 09:42:25 PM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
    Tue 29 May 2012 03:57:02 PM UTCiskunkAttached File-=>Added ax_printf_size_t.m4, #25951

    Back to the top

    Powered by Savane 3.1-cleanup1