[Mimedefang] MimeDefang on Solaris

David F. Skoll dfs at roaringpenguin.com
Fri Mar 1 15:19:55 EST 2002


On Fri, 1 Mar 2002, Rich West wrote:

> Yup, gcc on Solaris.  This worked just fine when compiling MIMEDefang 2.3...

That's because nothing in MIMEDefang 2.3 used "va_start" or the other
macros from stdarg.h (unless you compiled with DEBUG_EVENT set to true.)

Try compiling this program:

---------------------------------------------
#include <stdarg.h>

int foo(int x, ...)
{
	va_list ap;
	va_start(ap, x);
	va_end(ap);
	return x;
}

int main()
{
	(void) foo(1);
	return 0;
}
---------------------------------------------

If it fails to compile, it's a header file problem.

Regards,

David.




More information about the MIMEDefang mailing list