[cvs] bogofilter error.h,1.2,1.3

Matthias Andree matthias.andree at gmx.de
Fri Dec 20 00:02:44 CET 2002


m-a at users.sourceforge.net writes:

> Update of /cvsroot/bogofilter/bogofilter
> In directory sc8-pr-cvs1:/tmp/cvs-serv535
>
> Modified Files:
> 	error.h 
> Log Message:
> Kill PRINT_ERROR, this is neither ISO C89 (ANSI C) nor ISO C99 and kills the build on Sun Workshop Pro 6.
> Make line number argument an unsigned long, just in case.

Variadic #define macros are a GCC extension and harm
portability. Whether it's not in C99, is a moot point, it's not in gcc's
view of ISO C99.

Suns WorkShop Pro 6 r1 chokes. Reason enough to fix it.

(If only variadic functions had never been invented.)

-- 
Matthias Andree




More information about the bogofilter-dev mailing list