Menu

#8 Compilation problem on LinuxPPC

open
nobody
dproxy-0.x (2)
5
2001-03-19
2001-03-19
Martin Heck
No

Hi there,

I'm trying to use dproxy 0.5 on a LinuxPPC system,
and I get this warning when I compile:

dproxy.c: In function `get_options':
dproxy.c:576: warning: comparison is always true
due to limited range of data type

It makes a zero length dproxy.conf file, and
whenever I try to run the resulting binary, it just
displays the usage message. I also tried copying a
dproxy.conf file that dproxy's make created on a
Linux Mandrake (80x86) machine, and same
problem.

It's complaining about this comparison:
while( (c = getopt( argc, argv, "c:dhP")) != EOF ) {
however, I'm not sure what other comparison
would alleviate this problem.

Thanx much for any help,

Martin

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.