All pastes #149475 Raw Edit

Anonymous

public text v1 · immutable
#149475 ·published 2006-08-25 21:33 UTC
rendered paste body
 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -c ns_name.c  -fPIC -DPIC -o .libs/ns_name.o
ns_name.c: In function '__ns_name_ntop':
ns_name.c:128: warning: dereferencing type-punned pointer will break strict-aliasing rules
ns_name.c: In function '__ns_name_pton':
ns_name.c:210: warning: dereferencing type-punned pointer will break strict-aliasing rules
ns_name.c:211: warning: dereferencing type-punned pointer will break strict-aliasing rules

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I. -I../libsres -D_GNU_SOURCE -c val_resquery.c  -fPIC -DPIC -o .libs/val_resquery.o
In file included from ./validator.h:10,
                 from val_resquery.c:32:
./val_errors.h:140:1: warning: "VAL_ERROR" redefined
./val_errors.h:20:1: warning: this is the location of the previous definition
val_resquery.c: In function 'extract_glue_from_rdata':
val_resquery.c:127: warning: 'new' may be used uninitialized in this function
val_resquery.c: In function 'res_zi_unverified_ns_list':
val_resquery.c:241: warning: 'trailer' may be used uninitialized in this function

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I. -I../libsres -D_GNU_SOURCE -c val_verify.c  -fPIC -DPIC -o .libs/val_verify.o
In file included from ./validator.h:10,
                 from val_verify.c:20:
./val_errors.h:140:1: warning: "VAL_ERROR" redefined
./val_errors.h:20:1: warning: this is the location of the previous definition
val_verify.c: In function 'val_sigverify':
val_verify.c:72: warning: dereferencing type-punned pointer will break strict-aliasing rules
val_verify.c:84: warning: dereferencing type-punned pointer will break strict-aliasing rules

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I. -I../libsres -D_GNU_SOURCE -c val_parse.c  -fPIC -DPIC -o .libs/val_parse.o
In file included from ./validator.h:10,
                 from val_parse.c:15:
./val_errors.h:140:1: warning: "VAL_ERROR" redefined
./val_errors.h:20:1: warning: this is the location of the previous definition
val_parse.c: In function 'val_parse_rrsig_rdata':
val_parse.c:285: warning: pointer targets in passing argument 4 of 'val_parse_dname' differ in signedness

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I. -I../libsres -D_GNU_SOURCE -c val_policy.c  -fPIC -DPIC -o .libs/val_policy.o
In file included from ./validator.h:10,
                 from val_policy.c:30:
./val_errors.h:140:1: warning: "VAL_ERROR" redefined
./val_errors.h:20:1: warning: this is the location of the previous definition
val_policy.c: In function 'read_val_config_file':
val_policy.c:607: warning: 'index' may be used uninitialized in this function

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I. -I../libsres -D_GNU_SOURCE -c val_log.c  -fPIC -DPIC -o .libs/val_log.o
In file included from ./validator.h:10,
                 from val_log.c:20:
./val_errors.h:140:1: warning: "VAL_ERROR" redefined
./val_errors.h:20:1: warning: this is the location of the previous definition
val_log.c: In function 'val_log_rrsig_rdata':
val_log.c:113: warning: dereferencing type-punned pointer will break strict-aliasing rules
val_log.c:114: warning: dereferencing type-punned pointer will break strict-aliasing rules
val_log.c: In function 'p_as_error':
val_log.c:268: warning: case label value is less than minimum value for type
val_log.c:269: warning: case label value is less than minimum value for type
val_log.c:270: warning: case label value is less than minimum value for type
val_log.c:271: warning: case label value is less than minimum value for type
val_log.c:272: warning: case label value is less than minimum value for type
val_log.c:273: warning: case label value is less than minimum value for type
val_log.c:274: warning: case label value is less than minimum value for type
val_log.c:275: warning: case label value is less than minimum value for type

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I.. -I../libsres -I../libval -c validator_driver.c  -fPIC -DPIC -o .libs/validator_driver.o
In file included from ../libval/validator.h:10,
                 from validator_driver.c:29:
../libval/val_errors.h:140:1: warning: "VAL_ERROR" redefined
../libval/val_errors.h:20:1: warning: this is the location of the previous definition
validator_driver.c: In function 'main':
validator_driver.c:467: warning: implicit declaration of function 'res_nametoclass'
validator_driver.c:488: warning: implicit declaration of function 'res_nametotype'
validator_driver.c:544: warning: unused variable 'dnssec_status'
validator_driver.c:421: warning: unused variable 'typestr'
validator_driver.c:420: warning: unused variable 'classstr'

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I.. -I../libsres -I../libval -c gethost.c  -fPIC -DPIC -o .libs/gethost.o
In file included from ../libval/validator.h:10,
                 from gethost.c:12:
../libval/val_errors.h:140:1: warning: "VAL_ERROR" redefined
../libval/val_errors.h:20:1: warning: this is the location of the previous definition
gethost.c: In function 'main':
gethost.c:186: warning: implicit declaration of function 'inet_ntop'
gethost.c:186: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
gethost.c:52: warning: unused variable 'alias'
gethost.c:204: warning: control reaches end of non-void function

 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I../include -I.. -I../libsres -I../libval -c getaddr.c  -fPIC -DPIC -o .libs/getaddr.o
In file included from ../libval/validator.h:10,
                 from getaddr.c:25:
../libval/val_errors.h:140:1: warning: "VAL_ERROR" redefined
../libval/val_errors.h:20:1: warning: this is the location of the previous definition
getaddr.c: In function 'print_addrinfo':
getaddr.c:89: warning: format '%d' expects type 'int', but argument 3 has type 'struct sockaddr *'
getaddr.c: In function 'main':
getaddr.c:133: warning: unused variable 'index'