You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With latest glibc snapshot (which is available in Fedora) when build is performed with -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 in $CFLAGS some warnings are turned into errors.
Build fails with
[tkloczko@pers-jacek ldns-1.8.3]$ make -k./libtool --tag=CC --quiet --mode=compile /usr/bin/gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -DOPENSSL_API_COMPAT=10100 -fno-strict-aliasing -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fno-strict-aliasing -D_GNU_SOURCE -I./include/ldns -I/usr/include/python3.8 -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -c ./contrib/python/ldns_wrapper.c -o ldns_wrapper.lo./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_type2str':./contrib/python/ldns_wrapper.c:10137:16: error: implicit declaration of function 'SWIG_Python_str_AsChar'; did you mean 'SWIG_Python_str_FromChar'? [-Wimplicit-function-declaration]10137 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^~~~~~~~~~~~~~~~~~~~~~ | SWIG_Python_str_FromChar./contrib/python/ldns_wrapper.c:10137:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]10137 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:10157:5: error: implicit declaration of function 'SWIG_Python_str_DelForPy3'; did you mean 'SWIG_Python_str_FromFormat'? [-Wimplicit-function-declaration]10157 | SWIG_Python_str_DelForPy3(arg1_str); /* Is a empty macro for Python < 3. */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ | SWIG_Python_str_FromFormat./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_data_as_bytearray':./contrib/python/ldns_wrapper.c:10183:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]10183 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dnssec_get_rrsig_for_name_and_type':./contrib/python/ldns_wrapper.c:13109:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]13109 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dnssec_nsec3_closest_encloser':./contrib/python/ldns_wrapper.c:13225:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]13225 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dnssec_pkt_get_rrsigs_for_name_and_type':./contrib/python/ldns_wrapper.c:13315:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]13315 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dnssec_create_nsec3':./contrib/python/ldns_wrapper.c:13622:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]13622 | arg3_str = SWIG_Python_str_AsChar(swig_obj[2]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_nsec3_hash_name':./contrib/python/ldns_wrapper.c:13743:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]13743 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_create_nsec3':./contrib/python/ldns_wrapper.c:13896:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]13896 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:13913:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]13913 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_nsec3_hash_name_frm_nsec3':./contrib/python/ldns_wrapper.c:14225:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]14225 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_nsec_bitmap_covers_type':./contrib/python/ldns_wrapper.c:14273:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]14273 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_nsec_covers_name':./contrib/python/ldns_wrapper.c:14393:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]14393 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_fetch_valid_domain_keys':./contrib/python/ldns_wrapper.c:16506:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]16506 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_fetch_valid_domain_keys_time':./contrib/python/ldns_wrapper.c:16578:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]16578 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_validate_domain_dnskey':./contrib/python/ldns_wrapper.c:16655:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]16655 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_validate_domain_dnskey_time':./contrib/python/ldns_wrapper.c:16719:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]16719 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_validate_domain_ds':./contrib/python/ldns_wrapper.c:16791:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]16791 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_validate_domain_ds_time':./contrib/python/ldns_wrapper.c:16855:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]16855 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_get_rr_list_addr_by_name':./contrib/python/ldns_wrapper.c:18940:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]18940 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_get_rr_list_name_by_addr':./contrib/python/ldns_wrapper.c:19009:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]19009 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_getaddrinfo':./contrib/python/ldns_wrapper.c:19179:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]19179 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_a':./contrib/python/ldns_wrapper.c:20162:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20162 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_aaaa':./contrib/python/ldns_wrapper.c:20215:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20215 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_str':./contrib/python/ldns_wrapper.c:20268:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20268 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_b64':./contrib/python/ldns_wrapper.c:20321:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20321 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_b32_ext':./contrib/python/ldns_wrapper.c:20374:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20374 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_hex':./contrib/python/ldns_wrapper.c:20427:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20427 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_type':./contrib/python/ldns_wrapper.c:20480:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20480 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_class':./contrib/python/ldns_wrapper.c:20533:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20533 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_alg':./contrib/python/ldns_wrapper.c:20586:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20586 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_cert_alg':./contrib/python/ldns_wrapper.c:20751:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20751 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_loc':./contrib/python/ldns_wrapper.c:20804:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20804 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_unknown':./contrib/python/ldns_wrapper.c:20857:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20857 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_nsap':./contrib/python/ldns_wrapper.c:20910:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20910 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_atma':./contrib/python/ldns_wrapper.c:20963:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]20963 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_wks':./contrib/python/ldns_wrapper.c:21016:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21016 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_nsec':./contrib/python/ldns_wrapper.c:21069:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21069 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_period':./contrib/python/ldns_wrapper.c:21122:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21122 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_tsigtime':./contrib/python/ldns_wrapper.c:21175:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21175 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_apl':./contrib/python/ldns_wrapper.c:21228:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21228 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_int16_data':./contrib/python/ldns_wrapper.c:21281:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21281 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_ipseckey':./contrib/python/ldns_wrapper.c:21334:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21334 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str':./contrib/python/ldns_wrapper.c:21387:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21387 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_nsec3_salt':./contrib/python/ldns_wrapper.c:21611:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21611 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_int8':./contrib/python/ldns_wrapper.c:21695:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21695 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_int16':./contrib/python/ldns_wrapper.c:21748:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21748 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_int32':./contrib/python/ldns_wrapper.c:21801:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21801 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_time':./contrib/python/ldns_wrapper.c:21854:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21854 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_ilnp64':./contrib/python/ldns_wrapper.c:21907:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21907 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_eui48':./contrib/python/ldns_wrapper.c:21960:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]21960 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_eui64':./contrib/python/ldns_wrapper.c:22013:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22013 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_tag':./contrib/python/ldns_wrapper.c:22066:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22066 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_long_str':./contrib/python/ldns_wrapper.c:22119:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22119 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_hip':./contrib/python/ldns_wrapper.c:22172:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22172 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_amtrelay':./contrib/python/ldns_wrapper.c:22225:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22225 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_svcparams':./contrib/python/ldns_wrapper.c:22278:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22278 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2str':./contrib/python/ldns_wrapper.c:22324:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22324 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_print':./contrib/python/ldns_wrapper.c:22612:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]22612 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_str_dname':./contrib/python/ldns_wrapper.c:23199:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]23199 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname2buffer_wire':./contrib/python/ldns_wrapper.c:23252:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]23252 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname2buffer_wire_compress':./contrib/python/ldns_wrapper.c:23308:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]23308 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_wire':./contrib/python/ldns_wrapper.c:23366:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]23366 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_wire_compress':./contrib/python/ldns_wrapper.c:23422:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]23422 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2buffer_wire_canonical':./contrib/python/ldns_wrapper.c:23480:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]23480 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2wire':./contrib/python/ldns_wrapper.c:23824:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]23824 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2native_sockaddr_storage':./contrib/python/ldns_wrapper.c:24839:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]24839 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_axfr_start':./contrib/python/ldns_wrapper.c:24936:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]24936 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_pkt_rr_list_by_name':./contrib/python/ldns_wrapper.c:27394:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]27394 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_pkt_rr_list_by_name_and_type':./contrib/python/ldns_wrapper.c:27498:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]27498 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_size':./contrib/python/ldns_wrapper.c:29564:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]29564 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_get_type':./contrib/python/ldns_wrapper.c:29610:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]29610 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_data':./contrib/python/ldns_wrapper.c:29656:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]29656 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_address_reverse':./contrib/python/ldns_wrapper.c:30080:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30080 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2native_int8':./contrib/python/ldns_wrapper.c:30126:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30126 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2native_int16':./contrib/python/ldns_wrapper.c:30172:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30172 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2native_int32':./contrib/python/ldns_wrapper.c:30218:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30218 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf2native_time_t':./contrib/python/ldns_wrapper.c:30264:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30264 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_clone':./contrib/python/ldns_wrapper.c:30378:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30378 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_rdf_compare':./contrib/python/ldns_wrapper.c:30428:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30428 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:30445:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]30445 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_resolver_push_nameserver':./contrib/python/ldns_wrapper.c:33981:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]33981 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_resolver_search':./contrib/python/ldns_wrapper.c:34105:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]34105 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_resolver_search_status':./contrib/python/ldns_wrapper.c:34185:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]34185 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_resolver_prepare_query_pkt':./contrib/python/ldns_wrapper.c:34268:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]34268 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_resolver_send':./contrib/python/ldns_wrapper.c:34351:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]34351 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_resolver_query_status':./contrib/python/ldns_wrapper.c:34471:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]34471 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_resolver_query':./contrib/python/ldns_wrapper.c:34551:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]34551 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_pkt_tsig_verify':./contrib/python/ldns_wrapper.c:36528:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]36528 | arg6_str = SWIG_Python_str_AsChar(swig_obj[5]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_pkt_tsig_verify_next':./contrib/python/ldns_wrapper.c:36622:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]36622 | arg6_str = SWIG_Python_str_AsChar(swig_obj[5]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_pkt_tsig_sign':./contrib/python/ldns_wrapper.c:36719:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]36719 | arg6_str = SWIG_Python_str_AsChar(swig_obj[5]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_pkt_tsig_sign_next':./contrib/python/ldns_wrapper.c:36816:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]36816 | arg6_str = SWIG_Python_str_AsChar(swig_obj[5]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_zone_new_frm_fp':./contrib/python/ldns_wrapper.c:41721:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]41721 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_zone_new_frm_fp_l':./contrib/python/ldns_wrapper.c:41806:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]41806 | arg3_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dnssec_zone_find_rrset':./contrib/python/ldns_wrapper.c:43773:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]43773 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dnssec_zone_new_frm_fp':./contrib/python/ldns_wrapper.c:43938:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]43938 | arg3_str = SWIG_Python_str_AsChar(swig_obj[2]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dnssec_zone_new_frm_fp_l':./contrib/python/ldns_wrapper.c:44027:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]44027 | arg3_str = SWIG_Python_str_AsChar(swig_obj[2]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_cat_clone':./contrib/python/ldns_wrapper.c:45464:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45464 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:45481:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45481 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_cat':./contrib/python/ldns_wrapper.c:45542:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45542 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_reverse':./contrib/python/ldns_wrapper.c:45588:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45588 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_clone_from':./contrib/python/ldns_wrapper.c:45636:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45636 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_left_chop':./contrib/python/ldns_wrapper.c:45687:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45687 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_label_count':./contrib/python/ldns_wrapper.c:45733:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45733 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname2canonical':./contrib/python/ldns_wrapper.c:45864:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45864 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_is_subdomain':./contrib/python/ldns_wrapper.c:45914:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45914 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:45931:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45931 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_compare':./contrib/python/ldns_wrapper.c:45989:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]45989 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:46006:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46006 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_match_wildcard':./contrib/python/ldns_wrapper.c:46091:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46091 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:46108:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46108 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_interval':./contrib/python/ldns_wrapper.c:46171:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46171 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c:46188:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46188 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^./contrib/python/ldns_wrapper.c:46205:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46205 | arg3_str = SWIG_Python_str_AsChar(swig_obj[2]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_absolute':./contrib/python/ldns_wrapper.c:46294:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46294 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_label':./contrib/python/ldns_wrapper.c:46342:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46342 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_dname_is_wildcard':./contrib/python/ldns_wrapper.c:46393:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46393 | arg1_str = SWIG_Python_str_AsChar(swig_obj[0]); | ^./contrib/python/ldns_wrapper.c: In function '_wrap_ldns_fetch_valid_domain_keys_':./contrib/python/ldns_wrapper.c:46679:14: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]46679 | arg2_str = SWIG_Python_str_AsChar(swig_obj[1]); | ^make: *** [Makefile:327: ldns_wrapper.lo] Error 1
The text was updated successfully, but these errors were encountered:
With latest glibc snapshot (which is available in Fedora) when build is performed with
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
in $CFLAGS some warnings are turned into errors.Build fails with
The text was updated successfully, but these errors were encountered: