Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 531
    • Issues 531
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 99
    • Merge requests 99
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #2049

Closed
Open
Created Jul 24, 2020 by Michal Nowak@mnowakOwner

Compiler warnings identified by Intel C++ Compiler

I successfully build BIND main (a14445d4) with Intel C++ Compiler (icc (ICC) 19.1.2.254 20200623), though there were warnings along the way, one unit test failed, and many system test failed (the root cause seems in all these crashes seems to be the same, see below).

Also, there are a lot of optimization "remarks" like:

  CCLD     named-rrchecker
remark #11074: Inlining inhibited by limit max-size

One such file: named-rrchecker.optrpt.


Warnings

  CC       unix/libisc_la-net.lo
unix/net.c(535): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  			typestr = (type == IP_TOS) ? "IP_TOS" : "IPV6_TCLASS";
  			                                      ^
--
  CC       unix/libisc_la-resource.lo
unix/resource.c(132): warning #188: enumerated type mixed with another type
  	unixresult = setrlimit(unixresource, &rl);
  	                       ^

unix/resource.c(163): warning #188: enumerated type mixed with another type
  		unixresult = setrlimit(unixresource, &rl);
  		                       ^

unix/resource.c(170): warning #188: enumerated type mixed with another type
  		if (getrlimit(unixresource, &rl) == 0) {
  		              ^

unix/resource.c(172): warning #188: enumerated type mixed with another type
  			unixresult = setrlimit(unixresource, &rl);
  			                       ^

unix/resource.c(192): warning #188: enumerated type mixed with another type
  	if (getrlimit(unixresource, &rl) != 0) {
  	              ^

unix/resource.c(211): warning #188: enumerated type mixed with another type
  	if (getrlimit(unixresource, &rl) != 0) {
  	              ^
--
  CC       unix/libisc_la-socket.lo
unix/socket.c(1094): warning #188: enumerated type mixed with another type
  		dev->attributes |= ISC_SOCKEVENTATTR_TRUNC;
  		                ^

unix/socket.c(1100): warning #188: enumerated type mixed with another type
  		dev->attributes |= ISC_SOCKEVENTATTR_CTRUNC;
  		                ^

unix/socket.c(1125): warning #188: enumerated type mixed with another type
  			dev->attributes |= ISC_SOCKEVENTATTR_PKTINFO;
  			                ^

unix/socket.c(1130): warning #188: enumerated type mixed with another type
  				dev->attributes |= ISC_SOCKEVENTATTR_MULTICAST;
  				                ^

unix/socket.c(1143): warning #188: enumerated type mixed with another type
  			dev->attributes |= ISC_SOCKEVENTATTR_TIMESTAMP;
  			                ^

unix/socket.c(1153): warning #188: enumerated type mixed with another type
  			dev->attributes |= ISC_SOCKEVENTATTR_DSCP;
  			                ^

unix/socket.c(1168): warning #188: enumerated type mixed with another type
  			dev->attributes |= ISC_SOCKEVENTATTR_DSCP;
  			                ^

unix/socket.c(1441): warning #188: enumerated type mixed with another type
  	ev->attributes = 0;
  	               ^

unix/socket.c(3944): warning #188: enumerated type mixed with another type
  		dev->attributes |= ISC_SOCKEVENTATTR_ATTACHED;
  		                ^

unix/socket.c(3935): warning #589: transfer of control bypasses initialization of:
            variable "do_poke" (declared at line 3955)
  	switch (io_state) {
--

unix/socket.c(4024): warning #188: enumerated type mixed with another type
  	event->attributes = 0;
  	                  ^

unix/socket.c(4055): warning #188: enumerated type mixed with another type
  		dev->attributes |= ISC_SOCKEVENTATTR_PKTINFO;
  		                ^

unix/socket.c(4095): warning #188: enumerated type mixed with another type
  			dev->attributes |= ISC_SOCKEVENTATTR_ATTACHED;
  			                ^

unix/socket.c(4199): warning #188: enumerated type mixed with another type
  	event->attributes &= ~ISC_SOCKEVENTATTR_ATTACHED;
  	                  ^
--
  CC       libisc_la-task.lo
task.c(1559): warning #188: enumerated type mixed with another type
  	return (atomic_load(&manager->mode));
  	       ^
--
  CC       libdns_la-dispatch.lo
dispatch.c(749): warning #188: enumerated type mixed with another type
  		bindoptions = 0;
  		            ^

dispatch.c(753): warning #188: enumerated type mixed with another type
  			bindoptions |= ISC_SOCKET_REUSEADDRESS;
  			            ^

dispatch.c(990): warning #188: enumerated type mixed with another type
  	ev->attributes = 0;
  	               ^

dispatch.c(1747): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(sock, local, options);
  	                                      ^
--
  CC       libdns_la-dst_api.lo
dst_api.c(1940): warning #188: enumerated type mixed with another type
  	dst_key_state_t value = 0;
  	                        ^
--
  CC       libdns_la-rbtdb.lo
rbtdb.c(1365): warning #188: enumerated type mixed with another type
  			version->hash = 0;
  			              ^

rbtdb.c(8715): warning #188: enumerated type mixed with another type
  	rbtdb->current_version->hash = 0;
  	                             ^
--
                 from rdata.c(553):
rdata/generic/nsec3_50.c(300): warning #188: enumerated type mixed with another type
  	nsec3->hash = uint8_consume_fromregion(&region);
  	            ^
--
                 from rdata.c(553):
rdata/generic/nsec3param_51.c(236): warning #188: enumerated type mixed with another type
  	nsec3param->hash = uint8_consume_fromregion(&region);
  	                 ^
--
                 from rdata.c(553):
rdata/generic/amtrelay_260.c(156): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	space = (gateway != 0U) ? " " : "";
  	                              ^
--
  CC       libdns_la-request.lo
request.c(159): warning #592: variable "sock" is used before its value is set
  	UNUSED(sock);
  	^

request.c(440): warning #188: enumerated type mixed with another type
  		sendevent->attributes &= ~ISC_SOCKEVENTATTR_DSCP;
  		                      ^

request.c(443): warning #188: enumerated type mixed with another type
  		sendevent->attributes |= ISC_SOCKEVENTATTR_DSCP;
  		                      ^

request.c(564): warning #188: enumerated type mixed with another type
  		result = isc_socket_bind(sock, &bind_any, 0);
  		                                          ^

request.c(568): warning #188: enumerated type mixed with another type
  		result = isc_socket_bind(sock, &src, 0);
  		                                     ^
--
  CC       libdns_la-resolver.lo
resolver.c(1233): warning #188: enumerated type mixed with another type
  	query->attributes |= RESQUERY_ATTR_CANCELED;
  	                  ^

resolver.c(2016): warning #188: enumerated type mixed with another type
  	query->attributes = 0;
  	                  ^

resolver.c(2098): warning #188: enumerated type mixed with another type
  		result = isc_socket_bind(query->tcpsocket, &addr, 0);
  		                                                  ^

resolver.c(2387): warning #1292: unknown attribute "nonstring"
  	uint8_t buf[16] ISC_NONSTRING = { 0 };
  	                ^

resolver.c(2390): warning #1292: unknown attribute "nonstring"
  	uint8_t digest[ISC_SIPHASH24_TAG_LENGTH] ISC_NONSTRING = { 0 };
  	                                         ^

resolver.c(2913): warning #188: enumerated type mixed with another type
  		query->sendevent.attributes &= ~ISC_SOCKEVENTATTR_DSCP;
  		                            ^

resolver.c(2916): warning #188: enumerated type mixed with another type
  		query->sendevent.attributes |= ISC_SOCKEVENTATTR_DSCP;
  		                            ^

resolver.c(9669): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	FCTXTRACE4("query canceled in response(); ",
  	^
--
  CC       libdns_la-rrl.lo
rrl.c(496): warning #188: enumerated type mixed with another type
  		ratep = get_rate(rrl, e->key.s.rtype);
  		                      ^

rrl.c(642): warning #188: enumerated type mixed with another type
  	ratep = get_rate(rrl, e->key.s.rtype);
  	                      ^

rrl.c(1116): warning #188: enumerated type mixed with another type
  		return (ISC_R_SUCCESS);
  		       ^
--
  CC       libdns_la-zone.lo
zone.c(5814): warning #188: enumerated type mixed with another type
  	return (atomic_load_relaxed(&zone->options));
  	       ^

zone.c(20704): warning #188: enumerated type mixed with another type
  		param.hash = hash;
  		           ^
--
  CC       libdns_la-zoneverify.lo
zoneverify.c(1977): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	const char *keydesc = (secroots == NULL ? "self-signed" : "trusted");
  	                                                        ^
--
  CC       libns_la-client.lo
client.c(1076): warning #1292: unknown attribute "nonstring"
  	unsigned char digest[ISC_MAX_MD_SIZE] ISC_NONSTRING = { 0 };
  	                                      ^

client.c(1089): warning #1292: unknown attribute "nonstring"
  		unsigned char input[16 + 16] ISC_NONSTRING = { 0 };
  		                             ^

client.c(1124): warning #1292: unknown attribute "nonstring"
  		unsigned char input[4 + 4 + 16] ISC_NONSTRING = { 0 };
  		                                ^
--
  CC       libns_la-query.lo
query.c(1211): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	str_blank = (*str != ' ' && *str != '\0') ? " " : "";
  	                                                ^

query.c(4574): warning #188: enumerated type mixed with another type
  		hash = 1;
  		     ^
--
  CC       libbind9_la-check.lo
check.c(1596): warning #188: enumerated type mixed with another type
  		enum { MAS = 1, PRI = 2, SLA = 4, SCN = 8 } values = 0;
  		                                                     ^

check.c(1612): warning #188: enumerated type mixed with another type
  				values |= PRI;
  				       ^

check.c(1622): warning #188: enumerated type mixed with another type
  				values |= MAS;
  				       ^

check.c(1632): warning #188: enumerated type mixed with another type
  				values |= SCN;
  				       ^

check.c(1642): warning #188: enumerated type mixed with another type
  				values |= SLA;
  				       ^
--
  CC       server.o
server.c(3730): warning #188: enumerated type mixed with another type
  			fstrm_iothr_options_set_queue_model(fopt, i);
  			                                          ^

server.c(11139): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	sep = (ptr == NULL) ? "" : ": ";
  	                         ^
--
  CC       statschannel.o
statschannel.c(115): warning #188: enumerated type mixed with another type
  			{ 0, NULL } };
  			  ^
--
  CC       dighost.lo
dighost.c(2831): warning #188: enumerated type mixed with another type
  		result = isc_socket_bind(query->sock, &bind_any, 0);
  		                                                 ^

dighost.c(2934): warning #188: enumerated type mixed with another type
  			result = isc_socket_bind(query->sock, &bind_any, 0);
  			                                                 ^
--
  CC       named-checkconf.o
named-checkconf.c(201): warning #188: enumerated type mixed with another type
  	zone_options = DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_MANYERRORS;
  	             ^

named-checkconf.c(299): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKDUPRR;
  			             ^

named-checkconf.c(300): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
  			             ^

named-checkconf.c(302): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKDUPRR;
  			             ^

named-checkconf.c(303): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKDUPRRFAIL;
  			             ^

named-checkconf.c(305): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKDUPRR;
  			             ^

named-checkconf.c(306): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
  			             ^

named-checkconf.c(312): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_CHECKDUPRR;
  		             ^

named-checkconf.c(313): warning #188: enumerated type mixed with another type
  		zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
  		             ^

named-checkconf.c(319): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKMX;
  			             ^

named-checkconf.c(320): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
  			             ^

named-checkconf.c(322): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKMX;
  			             ^

named-checkconf.c(323): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKMXFAIL;
  			             ^

named-checkconf.c(325): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKMX;
  			             ^

named-checkconf.c(326): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
  			             ^

named-checkconf.c(332): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_CHECKMX;
  		             ^

named-checkconf.c(333): warning #188: enumerated type mixed with another type
  		zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
  		             ^

named-checkconf.c(339): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
  			             ^

named-checkconf.c(341): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
  			             ^

named-checkconf.c(344): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
  		             ^

named-checkconf.c(350): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_WARNMXCNAME;
  			             ^

named-checkconf.c(351): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
  			             ^

named-checkconf.c(353): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_WARNMXCNAME;
  			             ^

named-checkconf.c(354): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
  			             ^

named-checkconf.c(356): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_WARNMXCNAME;
  			             ^

named-checkconf.c(357): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_IGNOREMXCNAME;
  			             ^

named-checkconf.c(363): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_WARNMXCNAME;
  		             ^

named-checkconf.c(364): warning #188: enumerated type mixed with another type
  		zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
  		             ^

named-checkconf.c(370): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
  			             ^

named-checkconf.c(371): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
  			             ^

named-checkconf.c(373): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_WARNSRVCNAME;
  			             ^

named-checkconf.c(374): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
  			             ^

named-checkconf.c(376): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
  			             ^

named-checkconf.c(377): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_IGNORESRVCNAME;
  			             ^

named-checkconf.c(383): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
  		             ^

named-checkconf.c(384): warning #188: enumerated type mixed with another type
  		zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
  		             ^

named-checkconf.c(390): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKSIBLING;
  			             ^

named-checkconf.c(392): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
  			             ^

named-checkconf.c(399): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKSPF;
  			             ^

named-checkconf.c(401): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKSPF;
  			             ^

named-checkconf.c(407): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_CHECKSPF;
  		             ^

named-checkconf.c(413): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKNAMES;
  			             ^

named-checkconf.c(414): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKNAMESFAIL;
  			             ^

named-checkconf.c(416): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKNAMES;
  			             ^

named-checkconf.c(417): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKNAMESFAIL;
  			             ^

named-checkconf.c(419): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKNAMES;
  			             ^

named-checkconf.c(420): warning #188: enumerated type mixed with another type
  			zone_options &= ~DNS_ZONEOPT_CHECKNAMESFAIL;
  			             ^

named-checkconf.c(426): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_CHECKNAMES;
  		             ^

named-checkconf.c(427): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_CHECKNAMESFAIL;
  		             ^

named-checkconf.c(449): warning #188: enumerated type mixed with another type
  		zone_options |= DNS_ZONEOPT_CHECKTTL;
  		             ^
--
  CC       check-tool.lo
check-tool.c(93): warning #188: enumerated type mixed with another type
  dns_zoneopt_t zone_options = DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_CHECKMX |
                               ^

check-tool.c(760): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  	flags = (fileformat == dns_masterformat_text) ? "w" : "wb";
  	                                                    ^
--
  CC       named-checkzone.o
named-checkzone.c(155): warning #188: enumerated type mixed with another type
  		zone_options |= (DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_FATALNS |
  		             ^

named-checkzone.c(161): warning #188: enumerated type mixed with another type
  		zone_options |= (DNS_ZONEOPT_CHECKDUPRR | DNS_ZONEOPT_CHECKSPF);
  		             ^

named-checkzone.c(183): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKINTEGRITY |
  				             ^

named-checkzone.c(189): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
  				             ^

named-checkzone.c(190): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
  				             ^

named-checkzone.c(195): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
  				             ^

named-checkzone.c(196): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKSIBLING;
  				             ^

named-checkzone.c(201): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
  				             ^

named-checkzone.c(202): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
  				             ^

named-checkzone.c(207): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
  				             ^

named-checkzone.c(208): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
  				             ^

named-checkzone.c(238): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKNAMES;
  				             ^

named-checkzone.c(239): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKNAMESFAIL;
  				             ^

named-checkzone.c(241): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKNAMES |
  				             ^

named-checkzone.c(244): warning #188: enumerated type mixed with another type
  				zone_options &= ~(DNS_ZONEOPT_CHECKNAMES |
  				             ^

named-checkzone.c(265): warning #188: enumerated type mixed with another type
  			zone_options |= DNS_ZONEOPT_CHECKTTL;
  			             ^

named-checkzone.c(277): warning #188: enumerated type mixed with another type
  				zone_options &= ~(DNS_ZONEOPT_CHECKNS |
  				             ^

named-checkzone.c(280): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKNS;
  				             ^

named-checkzone.c(281): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_FATALNS;
  				             ^

named-checkzone.c(283): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKNS |
  				             ^

named-checkzone.c(294): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKMX;
  				             ^

named-checkzone.c(295): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
  				             ^

named-checkzone.c(297): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKMX |
  				             ^

named-checkzone.c(300): warning #188: enumerated type mixed with another type
  				zone_options &= ~(DNS_ZONEOPT_CHECKMX |
  				             ^

named-checkzone.c(319): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKDUPRR;
  				             ^

named-checkzone.c(320): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
  				             ^

named-checkzone.c(322): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKDUPRR |
  				             ^

named-checkzone.c(325): warning #188: enumerated type mixed with another type
  				zone_options &= ~(DNS_ZONEOPT_CHECKDUPRR |
  				             ^

named-checkzone.c(371): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_WARNMXCNAME;
  				             ^

named-checkzone.c(372): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
  				             ^

named-checkzone.c(374): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_WARNMXCNAME;
  				             ^

named-checkzone.c(375): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
  				             ^

named-checkzone.c(377): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_WARNMXCNAME;
  				             ^

named-checkzone.c(378): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_IGNOREMXCNAME;
  				             ^

named-checkzone.c(388): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_WARNSRVCNAME;
  				             ^

named-checkzone.c(389): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
  				             ^

named-checkzone.c(391): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
  				             ^

named-checkzone.c(392): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
  				             ^

named-checkzone.c(394): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
  				             ^

named-checkzone.c(395): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_IGNORESRVCNAME;
  				             ^

named-checkzone.c(405): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKSPF;
  				             ^

named-checkzone.c(407): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKSPF;
  				             ^

named-checkzone.c(417): warning #188: enumerated type mixed with another type
  				zone_options |= DNS_ZONEOPT_CHECKWILDCARD;
  				             ^

named-checkzone.c(419): warning #188: enumerated type mixed with another type
  				zone_options &= ~DNS_ZONEOPT_CHECKWILDCARD;
  				             ^
--
  CC       tsig-keygen.o
tsig-keygen.c(228): warning #3179: deprecated conversion of string literal to char* (should be const char*)
  							 : CONFGEN_DEFAULT);
  							 ^

Check:

  CC       socket_test.o
socket_test.c(192): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s1, &addr1, 0);
  	                                     ^

socket_test.c(200): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s2, &addr2, 0);
  	                                     ^

socket_test.c(250): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s1, &addr1, 0);
  	                                     ^

socket_test.c(258): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s2, &addr2, 0);
  	                                     ^

socket_test.c(363): warning #188: enumerated type mixed with another type
  		socketevent->attributes |= ISC_SOCKEVENTATTR_DSCP;
  		                        ^

socket_test.c(367): warning #188: enumerated type mixed with another type
  		socketevent->attributes &= ~ISC_SOCKEVENTATTR_DSCP;
  		                        ^

socket_test.c(420): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s1, &addr1, 0);
  	                                     ^

socket_test.c(429): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s2, &addr2, 0);
  	                                     ^

socket_test.c(500): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s1, &addr1, 0);
  	                                     ^

socket_test.c(587): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(s1, &addr1, 0);
  	                                     ^
--
  CC       dispatch_test.o
dispatch_test.c(291): warning #188: enumerated type mixed with another type
  	result = isc_socket_bind(sock, &local, 0);
  	                                       ^
--
  CC       private_test.o
private_test.c(119): warning #188: enumerated type mixed with another type
  	params.hash = testcase->hash;
  	            ^

  CC       sigs_test.o
sigs_test.c(329): warning #188: enumerated type mixed with another type
  		ZONECHANGE_SENTINEL,
  		^

sigs_test.c(336): warning #188: enumerated type mixed with another type
  		ZONEDIFF_SENTINEL,
  		^

sigs_test.c(347): warning #188: enumerated type mixed with another type
  		ZONECHANGE_SENTINEL,
  		^

sigs_test.c(354): warning #188: enumerated type mixed with another type
  		ZONEDIFF_SENTINEL,
  		^

sigs_test.c(365): warning #188: enumerated type mixed with another type
  		ZONECHANGE_SENTINEL,
  		^

sigs_test.c(372): warning #188: enumerated type mixed with another type
  		ZONEDIFF_SENTINEL,
  		^

sigs_test.c(382): warning #188: enumerated type mixed with another type
  		ZONECHANGE_SENTINEL,
  		^

sigs_test.c(387): warning #188: enumerated type mixed with another type
  		ZONEDIFF_SENTINEL,
  		^

sigs_test.c(400): warning #188: enumerated type mixed with another type
  		ZONECHANGE_SENTINEL,
  		^

sigs_test.c(410): warning #188: enumerated type mixed with another type
  		ZONEDIFF_SENTINEL,
  		^

--
  CC       dnstap_test-dnstap_test.o
dnstap_test.c(123): warning #188: enumerated type mixed with another type
  	result = dns_dt_create(dt_mctx, 33, TAPSOCK, &fopt, NULL, &dtenv);
  	                                ^
--
  CC       zt_test.o
zt_test.c(201): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
  	args.arg2 = &done;
  	          ^

zt_test.c(223): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
  	args.arg2 = &done;
  	          ^

zt_test.c(240): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
  	args.arg2 = &done;
  	          ^

zt_test.c(316): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
  	args.arg2 = &done;
  	          ^
--
  CC       nstest.lo
nstest.c(97): warning #188: enumerated type mixed with another type
  		client->state = 4;
  		              ^
--

ns_listenlist_default_test and a lot of system tests fail with:

[ RUN      ] ns_listenlist_default_test
netmgr/netmgr.c:694: REQUIRE(target != ((void*)0) && *target == ((void*)0)) failed, back trace
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(+0x2ec7d) [0x7fc5ec0ffc7d]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc_assertion_failed+0x7) [0x7fc5ec0ffd45]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc__nmsocket_attach+0x56) [0x7fc5ec0ea61c]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc__nm_tcp_stoplistening+0x52) [0x7fc5ec0edb0c]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc__nm_tcpdns_stoplistening+0x63) [0x7fc5ec0eea38]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc_nm_stoplistening+0x6e) [0x7fc5ec0eb674]
/home/newman/isc/ws/bind9/lib/ns/.libs/libns.so.1703(ns_interface_shutdown+0x33) [0x7fc5ebea5c2d]
/home/newman/isc/ws/bind9/lib/ns/.libs/libns.so.1703(+0x15925) [0x7fc5ebea5925]
/home/newman/isc/ws/bind9/lib/ns/tests/.libs/lt-listenlist_test() [0x403d69]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(+0x49793) [0x7fc5ec11a793]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(+0x49249) [0x7fc5ec11a249]
/lib64/libpthread.so.0(+0x9432) [0x7fc5eb6b2432]
/lib64/libc.so.6(clone+0x43) [0x7fc5eb5e0913]
./../../unit-test-driver.sh: line 13: 528599 Aborted                 (core dumped) "${TEST_PROGRAM}"
Assignee
Assign to
Time tracking