Hi there -- The version of gcc running on the system is 2.95.2 19991024 (release)
________________________________ From: [EMAIL PROTECTED] on behalf of René Berber Sent: Thu 2/2/2006 8:06 PM To: clamav-users@lists.clamav.net Subject: [Clamav-users] Re: Problem Upgrading to version 0.88 on HP-UX 10.20 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaplan, Andrew H. wrote: > I located the netdb.h file in the /usr/include directory as opposed to the > /usr/local directory. When I checked out its contents, the line that contained > the text HOST_NOT_FOUND appeared to be commented out. Here is the syntax of that > line: > > #define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */ This is a correct definition. It's not surrounded by #if ... #fi, is it? > If the file needs to be located in /usr/local, can a symbolic link be created > in /usr/local that points to /usr/include? No, that was my mistake, I wrote the wrong path. Now back to the original problem, why are those warnings appearing? Looking at the code the warning means that h_errno cannot take the value HOST_NOT_FOUND, h_errno is also defined in netdb.h just above the define. I can't see how the compiler determined that this part of the code is supposed to be unreachable (it really is reachable). That's two strange thing with the compilation, where is the -Werror? and why the compiler mistakenly thinks that some part of the code is unreachable? Perhaps I can think of something later. What version is your gcc? (i.e. gcc --version) - -- René Berber -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iEYEARECAAYFAkPirKAACgkQL3NNweKTRgz7oACg3wkezPfHa1zSMnWpI8E51pNw fLAAn22NXbnGpBo8SQAS5tdNYdYMGAcn =/70i -----END PGP SIGNATURE----- _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html