Warning compiling BIND 9.4.3 with ISC_SOCKET_USE_POLLWATCH defined
Mark Andrews
Mark_Andrews at isc.org
Sun Jan 4 23:36:20 UTC 2009
In message <Prayer.1.3.1.0901041931500.9271 at hermes-1.csi.cam.ac.uk>, Chris Thompson writes:
> Now(!) that I am aware of the existence of BIND 9.4.3, and with the
> intention of using it in production on Solaris 10 hosts, I thought
> I ought to configure it with STD_CDEFINES=-DISC_SOCKET_USE_POLLWATCH
> as suggested by the entry for change 2489 (although I am not aware
> that we have had any problems with beta versions of 9.4.3).
>
> However, doing this generates a compiler warning:
>
> cc -mt -I/usr/local/software/bind/bind-9.4.3 -I./include
> -I./../pthreads/include -I../include -I./../include -I./..
> -D_REENTRANT -DISC_SOCKET_USE_POLLWATCH -D_XPG4_2 -D__EXTENSIONS__
> -O -c socket.c
> "socket.c", line 3167: warning: improper pointer/integer combination: arg #5
>
> and indeed the call of manager_log there seems to have the wrong
> number of arguments. Ought I to consider this a show-stopper?
> (That is, would BIND crash if it ever got to exercise this bit of code?
> I've been running the resulting binary on a workstation without trouble,
> but it is under very light load there.)
>
> The C compiler is the Sun Studio 10 one, if that matters.
>
> --
> Chris Thompson
> Email: cet1 at cam.ac.uk
Just ask Sun for the fix or remove the extranious line from
the call.
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list