Thanks to Erich's fix we now have _DEBUG set on all systems when creating a debug version of ooRexx. How about then to use that information to set the value for a new "debug" method for .rexxinfo: if _DEBUG is set at compile time then the debug method gets set to return .true, to .false else.
This way we can have a new and documented method "debug" which allows to determine whether the current Rexx interpreter is a debug version or not, that is not dependent on a specific build system. Would that be an acceptable solution for everyone? ---rony On 02.12.2021 19:22, Erich Steinböck wrote: > I just fixed the missing _DEBUG define for non-Windows builds with revision > [r12334]. > > On Mon, Nov 29, 2021 at 5:08 PM Rick McGuire <object.r...@gmail.com > <mailto:object.r...@gmail.com>> wrote: > > It looks like the _DEBUG_ flag is only getting set for the Windows build > and not the others. > This is likely a CmakeList.txt problem that effects more than just rexx > -v. > > Rick >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel