Used macros to fix get_for_ref for GCC 7 and 8  and all calls to it
Used macros to fix get_for_ref for GCC 7 and 8  and all calls to it

sourceryinstitute/opencoarrays,sourceryinstitute/opencoarrays,sourceryinstitute/opencoarrays