[Oorexx-devel] Ad 4.2.0 compilation warnings using Xcode (MacOSX, compatible from OS X 10.6 onwards)
While compiling 4.2.0 for MacOSX in 32- and 64-bit, there are quite a few warnings that get generated, some examples (from the 64-bit compilation) e.g. * RexxDateTime.cpp:1142:27: sprintf: 'int', but the argument is 'wholenumber_t' [-Wformat] * DeadObject.cpp:221:03: printf: 'int', but the argument is 'size_t' [-Wformat] * RexxMemory.cpp:1238:16: destination for this 'memcpy' call is a pointer to dynamic class 'RexxObject'; vtable pointer will be overwritten (-Wdynamice-class-memaccess] * SysActivity.cpp:166:21: address of stack memory associated with local variable 'temp' returned [-Wreturn-stack-address] * SysFileSystem:223:10: 'stat64' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] * StreamNative.cpp:3069:26: use of logical '' with constant operand [-Wconstant-logical-operand] * LocalRegistrationManager.cpp:359:14: case value not in enumerated type 'ErrorCode' [-Wswitch] * hostemu.cpp:329:31: equality comparison with extraneous parentheses [-Wparentheses-equality] * cmparse.cpp:1618:20: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] * APIServer.cpp:194:13: expression result unused [-Wunused-value] * rexx.cpp:97.37: format string is not a string literal (potentially insecure) [-Wformat-security] If these warnings (total of approx. 200 warnings, many related to s|printf type usages, f|stat64) are of interest I could upload the warnings to SourceForge. Please advise. ---rony -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] Ad 4.2.0 compilation warnings using Xcode (MacOSX, compatible from OS X 10.6 onwards)
The StreamNative warning is actually a bug, so it would probably be worthwhile to see the entire set of warnings. These will only be fixed in trunk. Rick On Mon, Mar 17, 2014 at 9:20 AM, Rony G. Flatscher rony.flatsc...@wu.ac.atwrote: While compiling 4.2.0 for MacOSX in 32- and 64-bit, there are quite a few warnings that get generated, some examples (from the 64-bit compilation) e.g. - RexxDateTime.cpp:1142:27: sprintf: 'int', but the argument is 'wholenumber_t' [-Wformat] - DeadObject.cpp:221:03: printf: 'int', but the argument is 'size_t' [-Wformat] - RexxMemory.cpp:1238:16: destination for this 'memcpy' call is a pointer to dynamic class 'RexxObject'; vtable pointer will be overwritten (-Wdynamice-class-memaccess] - SysActivity.cpp:166:21: address of stack memory associated with local variable 'temp' returned [-Wreturn-stack-address] - SysFileSystem:223:10: 'stat64' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] - StreamNative.cpp:3069:26: use of logical '' with constant operand [-Wconstant-logical-operand] - LocalRegistrationManager.cpp:359:14: case value not in enumerated type 'ErrorCode' [-Wswitch] - hostemu.cpp:329:31: equality comparison with extraneous parentheses [-Wparentheses-equality] - cmparse.cpp:1618:20: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] - APIServer.cpp:194:13: expression result unused [-Wunused-value] - rexx.cpp:97.37: format string is not a string literal (potentially insecure) [-Wformat-security] If these warnings (total of approx. 200 warnings, many related to s|printf type usages, f|stat64) are of interest I could upload the warnings to SourceForge. Please advise. ---rony -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] Ad 4.2.0 compilation warnings using Xcode (MacOSX, compatible from OS X 10.6 onwards)
On 17.03.2014 14:34, Rick McGuire wrote: The StreamNative warning is actually a bug, so it would probably be worthwhile to see the entire set of warnings. These will only be fixed in trunk. OK, uploaded them as an attachment to https://sourceforge.net/p/oorexx/bugs/1250/. ---rony On Mon, Mar 17, 2014 at 9:20 AM, Rony G. Flatscher rony.flatsc...@wu.ac.at mailto:rony.flatsc...@wu.ac.at wrote: While compiling 4.2.0 for MacOSX in 32- and 64-bit, there are quite a few warnings that get generated, some examples (from the 64-bit compilation) e.g. * RexxDateTime.cpp:1142:27: sprintf: 'int', but the argument is 'wholenumber_t' [-Wformat] * DeadObject.cpp:221:03: printf: 'int', but the argument is 'size_t' [-Wformat] * RexxMemory.cpp:1238:16: destination for this 'memcpy' call is a pointer to dynamic class 'RexxObject'; vtable pointer will be overwritten (-Wdynamice-class-memaccess] * SysActivity.cpp:166:21: address of stack memory associated with local variable 'temp' returned [-Wreturn-stack-address] * SysFileSystem:223:10: 'stat64' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] * StreamNative.cpp:3069:26: use of logical '' with constant operand [-Wconstant-logical-operand] * LocalRegistrationManager.cpp:359:14: case value not in enumerated type 'ErrorCode' [-Wswitch] * hostemu.cpp:329:31: equality comparison with extraneous parentheses [-Wparentheses-equality] * cmparse.cpp:1618:20: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] * APIServer.cpp:194:13: expression result unused [-Wunused-value] * rexx.cpp:97.37: format string is not a string literal (potentially insecure) [-Wformat-security] If these warnings (total of approx. 200 warnings, many related to s|printf type usages, f|stat64) are of interest I could upload the warnings to SourceForge. Please advise. ---rony -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
[Oorexx-devel] Latest BSF4ooRexx MacOSX Refresh now includes latest ooRexx 4.2.0 ...
As there have been requests for a MacOSX version of ooRexx 4.2.0, I refreshed the MacOSX version of BSF4ooRexx with the latest, released version of ooRexx, version 4.2.0. You can get the latest BSF4ooRexx versions from: https://sourceforge.net/projects/bsf4oorexx/files/GA/BSF4ooRexx-411.20130714-GA/. BSF4ooRexx is an external Rexx function package that bridges ooRexx with Java (even camouflaging Java as ooRexx to make it really easy to use Java from ooRexx). Here are the direct links to the MacOSX refreshes to gain the latest released version of ooRexx, version 4.2.0: * 64-Bit (default): http://sourceforge.net/projects/bsf4oorexx/files/GA/BSF4ooRexx-411.20130714-GA/ooRexx420_WithBSF4ooRexx-413.20130714-x86_64-MacOSX-refresh20140317.dmg/download * 32-Bit: http://sourceforge.net/projects/bsf4oorexx/files/GA/BSF4ooRexx-411.20130714-GA/ooRexx420_WithBSF4ooRexx-413.20130714-i386-MacOSX-refresh20140317.dmg/download Once you installed the latest MacOSX package you may also use the oorexxtry-GUI to run (and edit) Rexx programs. In addition you will have access to ooRexx (and BSF4ooRexx) from the command line. If there are any support questions for BSF4ooRexx, please use the BSF4ooRexx support e-mail list which you can learn about and subscribe at: https://sourceforge.net/p/bsf4oorexx/mailman/?source=navbar ---rony -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel