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 - Normal Status:  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 Files:

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
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by iskunk (Submitted the item)



    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-09 simons StatusReady For Test => Done
        Open/ClosedOpen => Closed
    2012-06-15 simons StatusNone => Ready For Test
        Assigned toNone => simons
    2012-05-29 iskunk Attached File- => Added ax_printf_size_t.m4, #25951

    Back to the top

    Powered by Savane 3.3