ANNOUNCEMENT: NSD 1.3.0 alpha 1

Colm MacCarthaigh colm.maccarthaigh at heanet.ie
Wed Sep 17 11:09:11 UTC 2003


looks good, my version of gcc (on linux) doesnt seem to like
"__attribute__ (format ..." for function pointers, I get
"argument format specified for non-function" errors. 

I can get it working with ...

--- nsd-1.3.0-alpha1/configure.ac	Mon Sep 15 13:00:18 2003
+++ nsd-1.3.0-alpha1/configure.ac	Wed Sep 17 10:09:07 2003
@@ -120,6 +120,9 @@
 [ac_cv_c_format_attribute=no
 AC_TRY_COMPILE(
 [#include <stdio.h>
+
+void (*fptr)(char *format, ...) __attribute__ ((format (printf, 1, 2)));
+
 void f (char *format, ...) __attribute__ ((format (printf, 1, 2)));
 ], [
    f ("%s", "str");


I'll test 1.3 properly on Monday, but so far it's loading db files,
and serving records :)

-- 
Colm MacCárthaigh  /  HEAnet, Teach Brooklawn,  / Innealtóir Ghréasáin
+353 1 6609040    / Bóthar Shelbourne, BÁC, IE /   http://www.hea.net/



More information about the nsd-users mailing list