Subject: Integer/Pointer Comparison Problem in Pine Compilation

From: Dan Hatton <[email-masked]>
Date: Sun, 20 Jan 2002 01:16:55 +0000 (GMT)

References: 1997.04/msg00006, 2001.07/msg00005, 2001.08/msg00008,
2001.09/msg00033

I've been trying to compile pine 4.33 with gcc 2.95.2-13, under linux
2.2.19pre17, and have the same problem that was discussed in the threads
which started with the pine-info messages mentioned above, i.e. during
compilation of c-client/osdep.c, the compiler dies with complaints about
assignment of a pointer to an integer without an explicit cast.

I've found that if the -traditional flag is given to gcc, via
c-client/Makefile, this suppresses the error.  Hopefully, some people
who've encountered the problem will find that this allows them to compile
successfully.

It doesn't do me any good, however, because compilation of the included
system header string2.h then crashes out with "macro or #include recursion
too deep."  This appears (I'm not absolutely sure) to be because my
string2.h uses the const keyword, which is incompatible with gcc
-traditional.  I understand from one of the earlier threads about the
issue that the next version after 4.33, which turned out to be 4.40, was
supposed to work with the newer gcc version... did this happen, and if so,
where can I get hold of the newer version, bearing in mind that I'm
outside the US, and don't want to break export regulations regarding
encryption software, please?

Thanks

Dan Hatton

================================================================================

			Daniel C. Hatton B.A., M.Sci., A.M.Inst.P.
			Graduate Student

E-Mail:			[email-masked]

World-Wide Web:		http://www.bib.hatton.btinternet.co.uk/dan/

Surface Mail:		Wolfson Court,
			Girton College,
			Clarkson Road,
			Cambridge,
			UK.
			CB3 0EH

================================================================================

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------