[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zmailer-cvs as of today



aSorry for delay - been busy week.

At 11:40 PM 4/11/99 , mea@nic.funet.fi wrote the following message:
>> Just did cvs get and this doesn't compile on FreeBSD 3.1 and probably on
>> all FreeBSD version since all use gcc 2.7.2.1:
>	The report is -- shall we say -- weird.
Feel free to suggest ways to improve it :-) We all want zmailer to be even
better.

>	I do my compiler runs by calling the gcc with name
>	"gcc", not "cc"..
It is gcc under disguise:

game# uname -rs
FreeBSD 3.1-STABLE
game# cc -v
gcc version 2.7.2.1


>	Line 2230 at libsh/interpret.c contains the "_Y"
>	thing in  s_push()  macro.
>	I just committed a small change into  "include/listutils.h",
>	which may help in case the problem is in  gcc-2.7.2.1.

Nope, still bombs.:

cc   -DMAILER -DHAVE_CONFIG_H  -I./../include -I../include -I.. -I. -c
interpret
.c
interpret.c: In function `interpret':
interpret.c:2230: parse error before `0x00010000L'
interpret.c:2230: invalid type argument of `->'
interpret.c:2230: warning: assignment makes pointer from integer without a cast
interpret.c:2290: warning: passing arg 1 of `free' discards `const' from
pointer
 target type
interpret.c:2364: warning: passing arg 1 of `free' discards `const' from
pointer
 target type
*** Error code 1

Bombs on OpenBSD (2.5beta, but I'd say it is not much different from 2.4)
as well:

cc   -DMAILER -DHAVE_CONFIG_H  -I./../include -I../include -I.. -I. -c
interpret
.c
interpret.c: In function `interpret':
interpret.c:2230: syntax error before `0x40'
interpret.c:2230: invalid type argument of `->'
interpret.c:2230: warning: assignment makes pointer from integer without a cast
interpret.c:2290: warning: passing arg 1 of `free' discards `const' from
pointer
 target type
interpret.c:2364: warning: passing arg 1 of `free' discards `const' from
pointer
 target type
*** Error code 1

Stop in /usr/work/mail/zmailer/libsh.

irc% uname -rs
OpenBSD 2.5
irc% cc -v
Reading specs from /usr/lib/gcc-lib/sparc-unknown-openbsd2.5/2.8.1/specs
gcc version 2.8.1

CVS sources as of today - on both machines.

Tomaz

----
Tomaz Borstnar <tomaz.borstnar@over.net>
"Love is the answer to the final question you ask" - Unknown