From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] dnsmasq 2.75: next patch... (No.50) Date: Thu, 04 Feb 2016 23:50:41 +0000 Message-ID: <1454629841.10195.57.camel@ipfire.org> In-Reply-To: <56A36B65.2090206@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2839494997846917236==" List-Id: --===============2839494997846917236== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, On Sat, 2016-01-23 at 13:00 +0100, Matthias Fischer wrote: > Anyway, patch No.056 came out a few minute ago: Coffee was updated, > I'm > at it again, Devel is running. Will any of this be targeted to be included in C98? > First: > ***SNIP*** > ... > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC > -fstack-protector-all --param=3Dssp-buffer-size=3D4 -march=3Di586 > -mtune=3Dgeneric -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION=3D'"2.75"'=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0-c dnsmasq.c=09 > dnsmasq.c: In function 'main': > dnsmasq.c:922:7: warning: implicit declaration of function > 'do_script_run' [-Wimplicit-function-declaration] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0while (helper_buf_empty() && do_s= cript_run(now)); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^ > dnsmasq.c:55:7: warning: unused variable 'did_bind' [-Wunused- > variable] > =C2=A0=C2=A0=C2=A0int did_bind =3D 0; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^ > dnsmasq.c:54:9: warning: unused variable 'bound_device' [-Wunused- > variable] > =C2=A0=C2=A0=C2=A0char *bound_device =3D NULL; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^ > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC > -fstack-protector-all --param=3Dssp-buffer-size=3D4 -march=3Di586 > -mtune=3Dgeneric -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION=3D'"2.75"'=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0-c dhcp.c=09 > ... > ***SNAP*** Get in touch with Simon for this. It is nothing major. But good to point it out. > Second: > ***SNIP*** > ... > cc -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fPIC > -fstack-protector-all --param=3Dssp-buffer-size=3D4 -march=3Di586 > -mtune=3Dgeneric -fomit-frame-pointer -DHAVE_ISC_READER -DNO_INOTIFY > -DVERSION=3D'"2.75"'=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0-c isc.c=09 > isc.c: In function 'dhcp_lease_new': > isc.c:40:3: warning: ignoring return value of 'asprintf', declared > with > attribute warn_unused_result [-Wunused-result] > =C2=A0=C2=A0=C2=A0asprintf(&lease->fqdn, "%s.%s", hostname, daemon->domain_= suffix); > =C2=A0=C2=A0=C2=A0^ > cc=C2=A0=C2=A0-o dnsmasq cache.o rfc1035.o util.o option.o forward.o networ= k.o > dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o helper.o > tftp.o log.o conntrack.o dhcp6.o rfc3315.o dhcp-common.o outpacket.o > radv.o slaac.o auth.o ipset.o domain.o dnssec.o blockdata.o tables.o > loop.o inotify.o poll.o rrfilter.o edns0.o arp.o isc.o -lidn > -lnettle -lhogweed=C2=A0=C2=A0=C2=A0-lgmp > ... > ***SNAP*** This is in my code. I made a patch for that: http://git.ipfire.org/?p=3Dpeople/ms/dnsmasq.git;a=3Dcommitdiff;h=3Dbac82b4ff= 2f971a0227efb1a83f2b2bb1cd28764 You can also pull the entire branch from that repository to generate a recent patch against the latest development version. >=20 > Despite these warnings, the 'dnsmasq'-binary is usually built and is > running fine (here). But I'd like to get rid of these warnings and > don't > know how (sorry, I'm no programmer). Asking in the 'dnsmasq'-list had > no > effect, I got no answers at all. >=20 > Does anyone in here has a clue? >=20 > Best, > Matthias >=20 -Michael --===============2839494997846917236== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEKCmlRSWNCQUFC Q2dBR0JRSldzK1BSQUFvSkVJQjU4UDl2a0FrSHNyMFFBSWNvTElJS3A5cFVjeDdjWW1KaW5xbFIK VTRLdUVKdTFSWVNhNWhtVXV3TFlpRE9rTS9uVjlLclQzcWhJVTJheDdJN2s3N3p2ZisxZmxNUEcv SmJVbTUydQpzcGxnR3l1aDdCckFtaWdoMWtOWG5iWitpMlBqclNRL3Z1UmxYSG9xUk1OMW01VkQr a0MxaGl5MG91M0JvOTdCClJ4Y1Y2bU5idmQxMDdZeHFuejFUS0dTaXp5a0ZoRzNiZm9sNGM2bHFQ UTRVM0hzSzJnRHhrVXJ1djE5S2Z4WUQKQzRraUlhOHEyUTFKUlFscmFub0pTNFF4VmFOMEJYUHJq bzR6NjBGc3JXejN1SmpSNlc3K2pvczhmUFdIbUdNegpTbHJlcFZxT0F4bm16QnV4S3hrNnF4RTdp cTVTOXhjU0FJWEhWckhxWHhyNmsyYWZPRnZiVWIvWFQyOWNZeDFRCmlGSE9jQlJQSzdkYUxHc1N2 OGtTeWIyazFvR2ZCbnZqUkhxbEsvNHhtc2tnajFScUpPeXpJMjk2UklXUzJ5OU4Kdi9aU1k3cHlo QkRqQnJMTnA1MDdnTWozN21RdUo4LzBoTzRWZ0grQmE2MU42Z08xblNMNUNtL2toOGJXOEpRQwpa SFMxVStiVHhKWnlGNStlbkZxaUZOaHdLbkxXd0thM3ZMSVBXVWthYmYycHVsWjM4K0lnV2sways3 a1A4SnluCms0bFh5NHZhZXlTM2hlK2pXQmVrQjlJeGUwbGU3UFlKakxncS9QQ25iN3dsYlQ2Uk5P UjF4T25vQWtrU243VUEKT1RZVlJOT2RXYlpLU040M0NnTmFOa1FYT001TjhML1J4bnBtSFNVK3Bw ZU9aTXlQMVhpUHNZenR0aTV0OFNLMgppcUhsaTRjdExqbzY5djUralhyago9c1dJaQotLS0tLUVO RCBQR1AgU0lHTkFUVVJFLS0tLS0K --===============2839494997846917236==--