cc/AIX 5L/IA64 doesn't like pike_search_engine.c lines 71 & 164
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=933
Reported by @grubba
WARNING: Compiler failure! Trying without optimization! echo /home/grubba/src/Pike7.1/build/aix-0-ia64/smartlink cc -I. -I/home/grubba/src/Pike7.1/src -I/usr/local/include -I/usr/X11R6/include -I/home/grubba/src/Pike7.1/src -I/home/grubba/src/Pike7.1/build/aix-0-ia64 -q64 -I/usr/local/include -I/usr/X11R6/include -I/home/grubba/src/Pike7.1/src -I/home/grubba/src/Pike7.1/build/aix-0-ia64 -c /home/grubba/src/Pike7.1/src/pike_search.c -o pike_search.o "/home/grubba/src/Pike7.1/src/pike_search_engine2.c", line 154.5: 1506-068 (W) Operation between types "unsigned char*" and "signed char*" is not allowed. "/home/grubba/src/Pike7.1/src/pike_search_engine.c", line 71.3: 1506-025 (S) Operand must be a modifiable lvalue. "/home/grubba/src/Pike7.1/src/pike_search_engine.c", line 164.3: 1506-025 (S) Operand must be a modifiable lvalue. "/home/grubba/src/Pike7.1/src/pike_search_engine2.c", line 154.5: 1506-068 (W) Operation between types "unsigned char*" and "signed char*" is not allowed. "/home/grubba/src/Pike7.1/src/pike_search_engine.c", line 71.3: 1506-025 (S) Operand must be a modifiable lvalue. "/home/grubba/src/Pike7.1/src/pike_search_engine.c", line 164.3: 1506-025 (S) Operand must be a modifiable lvalue. "/home/grubba/src/Pike7.1/src/pike_search_engine2.c", line 154.5: 1506-068 (W) Operation between types "unsigned char*" and "signed char*" is not allowed. "/home/grubba/src/Pike7.1/src/pike_search_engine.c", line 71.3: 1506-025 (S) Operand must be a modifiable lvalue. "/home/grubba/src/Pike7.1/src/pike_search_engine.c", line 164.3: 1506-025 (S) Operand must be a modifiable lvalue. "/home/grubba/src/Pike7.1/src/pike_search.c", line 171.25: 1506-280 (W) Function argument assignment between types "unsigned char*" and "signed char*" is not allowed. "/home/grubba/src/Pike7.1/src/pike_search.c", line 172.46: 1506-280 (W) Function argument assignment between types "unsigned char*" and "signed char*" is not allowed. "/home/grubba/src/Pike7.1/src/pike_search.c", line 172.30: 1506-068 (W) Operation between types "signed char*" and "unsigned char*" is not allowed. make: The error code from the last command is 1.
Looks like it doesn't like NEEDLE as an lvalue.