Menu

#4 Illegal integer-pointer combination

open
None
5
2012-09-14
2005-05-27
Anonymous
No

When compiling v 2.5 stable on HP-UX 11.11 using HP
C/ANSI C compiler I get the following error when
compiling ctl.c:

make

    source='ctl.c' object='ctl.o' libtool=no \
    depfile='.deps/ctl.Po' tmpdepfile='.deps/ctl.TPo' \
    depmode=hp /bin/sh ../depcomp \
    cc -DHAVE_CONFIG_H -I. -I. -I..  -I../inc -I-

-I/opt/dnet/include -I/opt/gnu
/include -I/opt/gnu/include -O +Onolimit -c test -f 'ctl.c' || echo ./'ctl.c
cpp: "/usr/include/sys/param.h", line 91: warning 2001:
Redefinition of macro MAXHOSTNAMELEN.
cpp: "../inc/ctl.h", line 128: warning 2001:
Redefinition of macro SIG_RESTART.
cc: "ctl.c", line 412: error 1649: Illegal
integer-pointer combination for <.
cc: "ctl.c", line 412: error 1563: Expression in if
must be scalar.
cc: "ctl.c", line 479: warning 604: Pointers are not
assignment-compatible.
cc: "ctl.c", line 479: warning 563: Argument #3 is not
the correct type.
*** Error exit code 1

Stop.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.