Jack,

I looks like the ARGUMENT_TYPE issue is also fixed in the 4.2 branch that
Erich pointed out too, but I still recommend you switch to 5.0.0.

Rick

On Tue, Dec 4, 2018 at 9:01 PM Jack Woehr <jwo...@absolute-performance.com>
wrote:

> Please excuse me for persisting :) I'd really like to build some version
> of OORexx on IBM i PASE.
>
> As I noted I'm doing 4.2.0 because I think it will be easier as a first
> try.
>
> First off, had to make two changes:
>
> Index: ThreadContextStubs.cpp
> ===================================================================
> --- ThreadContextStubs.cpp    (revision 11567)
> +++ ThreadContextStubs.cpp    (working copy)
> @@ -576,7 +576,8 @@
>      catch (RexxNativeActivation *)
>      {
>      }
> -    return false;
> +    // return false;
> +    return NULL;
>  }
>
>
> @@ -591,7 +592,8 @@
>      catch (RexxNativeActivation *)
>      {
>      }
> -    return false;
> +    // return false;
> +    return NULL;
>  }
>
> Now it's not happy with some PASE gcc/g++ includes:
>
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2
> -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\"
> -DORX_SYS_STR=\"unknown\" -DORX_CATDIR=\"/usr/bin\"
> -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
> -I./common -I./common/platform/unix -I./interpreter
> -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory
> -I./interpreter/package -I./interpreter/concurrency
> -I./interpreter/expression -I./interpreter/instructions
> -I./interpreter/classes -I./interpreter/classes/support
> -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages
> -I./interpreter/streamLibrary -I./interpreter/platform/common
> -I./interpreter/platform/unix -g -O2 -g -O2 -DNOOPT -DPTHREAD_KERNEL
> -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT
> librexx_la-RexxNativeActivation.lo -MD -MP -MF
> .deps/librexx_la-RexxNativeActivation.Tpo -c
> ./interpreter/execution/RexxNativeActivation.cpp  -fPIC -DPIC -o
> .libs/librexx_la-RexxNativeActivation.o
> In file included from ./interpreter/runtime/RexxCore.h:50:0,
>                  from ./interpreter/execution/RexxNativeActivation.cpp:44:
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::atan2(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::fmod(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::pow(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreater(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreaterequal(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isless(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::islessequal(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::islessgreater(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isunordered(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::copysign(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::fdim(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type
> std::fma(_Tp, _Up, _Vp)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___z' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::fmax(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::fmin(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::hypot(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::nextafter(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::remainder(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::remquo(_Tp, _Up, int*)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>                      ^
> make: *** [Makefile:2639: librexx_la-RexxNativeActivation.lo] Error 1
>
> --
> Jack Woehr
> Absolute Performance, Inc.
> 12303 Airport Way, Suite 100
> Broomfield, CO 80021
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to