procmail
[Top] [All Lists]

Re: Compiling problem with Dunix 4.0e

1999-03-07 00:14:50
Andy Walden <andy(_at_)enigma(_dot_)mtco(_dot_)com> writes:
I get the following error when trying to compile on Dunix 4.0e, any
thoughts? Please reply to me personally as I am not on the list. Thanks
for the time.
...
cc -c -O   goodies.c
cc: Error: goodies.c, line 283: In this statement, "2" and "strcpy(...)"
cannot be added. (noadd)
                    { p=2+strcpy(p,"()");     /* protect leading character */
-------------------------^

That C compiler is broken.  Complain to the vendor and demand either a
fix or a refund.

In the meantime, you can patch the above line to read:

                     { strcpy(p,"()");p+=2;

HOWEVER, if the compiler screwed up the first version, there's no
telling what else it'll munge.  I'm not sure I would trust my e-mail to
resulting binary.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>