Hello all, I’d like to request help from someone more experienced with the ooRexx code to rewrite the code/macros used for generating extension sources.
Unfortunately after GCC 6.x officially adopted C11, some things are fundamentally different. This is a one-way decision, and all Linux distros from now will eventually adopt it. OpenSUSE Tumbleweed/Factory (which will become the next OpenSUSE Leap) and Fedora 24 are already using it. The macros in api/oorexxapi.h, in special the ones that create stub methods (RexxMethod0..RexxMethod8) are no longer valid C++ code, as GCC requires that the every token evaluates to a valid element. In practice, this means that something like this (from interpreter/classes/RexxQueueMethods.cpp): RexxMethod1(wholenumber_t, rexx_queue_queue, OPTIONAL_RexxStringObject, queue_line) Are no longer viable because GCC will now require every identifier to be valid beforehand. They need to be rewritten using templates or something similar. I tried to find a workaround for a few days using various flags to try and emulate the previous compiler behaviour, to no avail. If someone is up to the challenge, please do it. I don’t feel qualified to do it. Erico Mendonça Dedicated Support Engineer SUSE ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
