On Monday 19 January 2009 12:58:21 Robert Segall wrote:
> On Wed, 2009-01-14 at 09:16 -0800, Jacob Anderson wrote:
> > I am building Pound 2.4.4 on CentOS 4, and am getting this compiler
> > warning:
> >
> > gcc -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.4.4"\"
> > -DC_SSL=\"""\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\"
> > -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\""0"\" -g -O2 -pthread
> > -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -pthread  -D_REENTRANT
> > -D_THREAD_SAFE -Wstrict-prototypes -pipe   -c -o config.o config.c
> > config.c: In function `parse_be':
> > config.c:143: warning: assignment from incompatible pointer type
> > config.c: In function `t_hash':
> > config.c:373: warning: this decimal constant is unsigned only in ISO C90
> >
> > gcc -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.4.4"\"
> > -DC_SSL=\"""\" -DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\"
> > -DC_GROUP=\"""\" -DC_SUPER=\""0"\" -DC_CERT1L=\""0"\" -g -O2 -pthread
> > -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -pthread  -D_REENTRANT
> > -D_THREAD_SAFE -Wstrict-prototypes -pipe   -c -o svc.o svc.c
> > svc.c: In function `hash_backend':
> > svc.c:438: warning: this decimal constant is unsigned only in ISO C90
> >
> > This is directly out of the box, no changes on my part.
> >
> > GCC version: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)
>
> warning: this decimal constant is unsigned only in ISO C90 - is not a
> problem, as it is used only as a bit mask. The warning is harmless, but
> I know of no portable way of avoiding it (gcc is easy, but consider
> other compilers as well).
>
> warning: assignment from incompatible pointer type - is a harmless
> casting error. We'll take care of that in the next release.

http://www.apsis.ch/pound/pound_list/archive/2008/2008-12/1228952039000#1228952039000

the second patch won't do?

-- 
glen

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to