|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Problems compiling 2.2.0-RC1 with gcc4
From: Reuben Farrelly (reuben-postfix-users
reub.net)
Date: Wed Mar 02 2005 - 06:51:02 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 01:25 a.m. 3/03/2005, Wietse Venema wrote:
>Matthias Andree:
> > > gcc -W -Wformat -Wimplicit -Wmissing-prototypes -Wparentheses
> > > -Wstrict-prototypes -Wswitch -Wuninitialized -Wunused -fPIC -DHAS_LDAP
> > > -DHAS_PCRE -I/usr/include/pcre -DUSE_SASL_AUTH -I/usr/include/sasl
> > > -DUSE_TLS -I/usr/kerberos/include -g -O -I. -I../../include -DLINUX2 -c
> > > anvil.c
> > > anvil.c:425: warning: unused parameter 'unused_event'
> > > anvil.c:708: warning: unused parameter 'unused_service'
>
>Use the TOP-LEVEL Makefile instead of the files
>in the individual directories.
>
>Ditto for the other bogus warnings.
I did this because couldn't get any further than this 'error':
sendmail.c:450: error: static declaration of 'var_submit_acl' follows
non-static declaration
I have forwarded Matthias's comments to the Fedora/Redhat maintainer for
Postfix for further review, he will no doubt run into this problem next
time the package is rebuilt in the FC build system. The newer gcc sounds
like an ugly can of worms at this stage if it overgenerates error messages,
perhaps it's time to look for something like the compat-gcc34 package until
gcc4 is a bit better debugged out...
At least these problems can be noted before Postfix-2.2 is released. It
would have been a shame if they had been legitimate warnings or errors in
Postfix, and not in fact compiler related :(
Reuben
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]