Date: Mon, 14 Mar 2005 14:55:21 -0500 (EST) From: Vivek Khera <vivek@khera.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/78841: mDNSResponder compile warnings on amd64 Message-ID: <20050314195521.242C5B857@yertle.kcilink.com> Resent-Message-ID: <200503142000.j2EK08B9061152@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78841 >Category: ports >Synopsis: mDNSResponder compile warnings on amd64 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 14 20:00:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 5.3-STABLE amd64 >Organization: >Environment: System: FreeBSD yertle.int.kciLink.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Jan 7 16:42:37 EST 2005 khera@yertle.int.kciLink.com:/usr/obj/usr/src/sys/YERTLE amd64 >Description: building mDNSResponder results in the following warnings, which probably will cause run-time problems given that the printf code will want to read a long when it is really given just an integer. [root@yertle]# make ===> Vulnerability check disabled, database not found ===> Extracting for mDNSResponder-98 => Checksum OK for mDNSResponder-98.tar.gz. /usr/ports/distfiles//mDNSResponder-98.tar.gz: 80.4% ===> Patching for mDNSResponder-98 ===> Applying FreeBSD patches for mDNSResponder-98 ===> mDNSResponder-98 depends on executable: gmake - found ===> Configuring for mDNSResponder-98 ===> Building for mDNSResponder-98 Responder daemon done Client library done Client.c: In function `main': Client.c:275: warning: long int format, different type arg (arg 4) Embedded Standalone Client done Responder.c: In function `main': Responder.c:835: warning: long int format, different type arg (arg 4) Embedded Standalone Responder done ProxyResponder.c: In function `main': ProxyResponder.c:325: warning: long int format, different type arg (arg 3) Embedded Standalone ProxyResponder done Identify.c: In function `main': Identify.c:403: warning: long int format, different type arg (arg 3) Identify done NetMonitor.c: In function `main': NetMonitor.c:1129: warning: long int format, different type arg (arg 4) NetMonitor done dnsextd done >How-To-Repeat: "make" in net/mDNSResponder on an amd64 (or any 64-bit architecture). >Fix: cast the arg to (long) in the above files. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050314195521.242C5B857>