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

 
 

patch #7787: New macro: AX_PRINTF_SIZE_T

Submitter:  Daniel Richard G. <iskunk>
Submitted:  Tue 29 May 2012 03:57:02 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Tue 29 May 2012 03:57:02 PM UTC, original submission:  

SYNOPSIS: AX_PRINTF_SIZE_T

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:
   
   
Comment:
   

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.13-758e.
    Corresponding source code