Menu

#19 HP-UX 11 compilation with cc - bug with choiceptr

open
nobody
None
5
2007-07-11
2007-07-11
No

choiceptr defined in H/amidefs.h uses macro MIN_ARRAY,
but in the following files this macro is not used anymore, files:
C/cdmgr.c
C/heapgc.c
C/index.c
C/absmi.c

changing the use of cp_args with MIN_ARRAY to cp_last.cp_args helps to compile.
For example:
before: cptr->cp_args
after:
#ifder MIN_ARRAY
...->cptr->cp_args;
#else
...->cptr->cp_last.cp_args;
#endif

--------
Using Yap511 on HP-UX 11 with cc compiler.

Please provide changes to indicated source files.

Thank you.

Discussion


Log in to post a comment.