[ clisp-Patches-3529607 ] Format specifier patch
SourceForge.net <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
Patches item #3529607, was opened at 2012-05-24 15:52 Message generated for change (Comment added) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301355&aid=3529607&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jerry James (jjames) Assigned to: Nobody/Anonymous (nobody) Summary: Format specifier patch Initial Comment: While compiling on a 32-bit platform, I saw some GCC warnings about printf arguments not matching the corresponding format specifiers. This patch fixes all of the warnings I saw on that platform. ---------------------------------------------------------------------- >Comment By: Sam Steingold (sds) Date: 2012-05-24 18:37 Message: this patch results in these warnings on amd64: In file included from ../src/spvw.d:161:0: ../src/spvw_debug.d: In function ‘nobject_out1’: ../src/spvw_debug.d:123:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uintWL’ [-Wformat] ../src/spvw_debug.d:124:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uintL’ [-Wformat] ../src/spvw_debug.d:188:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uintL’ [-Wformat] ../src/spvw_debug.d:188:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat] ../src/spvw_debug.d:188:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat] ../src/spvw_debug.d:284:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat] ../src/spvw_debug.d:289:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat] ../src/spvw_debug.d:289:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Wformat] ../src/spvw_debug.d:289:13: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long unsigned int’ [-Wformat] ../src/spvw_debug.d: In function ‘bt_out’: ../src/spvw_debug.d:362:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uintL’ [-Wformat] ../src/spvw_debug.d:371:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat] In file included from ../src/spvw.d:3996:0: ../src/spvw_memfile.d: In function ‘loadmem_from_handle’: ../src/spvw_memfile.d:1820:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uintL’ [-Wformat] In file included from ../src/error.d:502:0: ../src/errunix.d: In function ‘errno_out_low’: ../src/errunix.d:97:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uintL’ [-Wformat] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301355&aid=3529607&group_id=1355 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel