[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with Orca/C 1.3 porting PGP 2.2 Please help



I'm using Orca/C 1.3-- I have a bit of a problem porting PGP 2.2

NULL, as usual, is (void *)
n is an array, with the declaration:
	unit n[MAX_UNIT_PRECISION];

userid_match is a function with the header:
	static boolean userid_match(char *userid, char *substr,unitptr n);

	I'm compiling and I run across this problem:

	Note that I'm porting the code.. This portion of the code 
apparently compiles fine on all other platforms. There are no 
comments near this element which would hint at a problem.

if (userid_match((char *)userid0, (char *) userid,
	(exact_match ? NULL : n)))
	    ^ The operation cannot be performed on operands of the type given
	    ^ The operation cannot be performed on operands of the type given

	Thoughts? Advice? Suggestions?

	Thanks.



-- 
| Sameer Parekh-zane@genesis.MCS.COM-PFA related mail to pfa@genesis.MCS.COM |
| Apprentice Philosopher, Writer, Physicist, Healer, Programmer, Lover, more |
| "Be God" - Me __ "Specialization is for Insects" - Robert A. Heinlein ____/