Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

openpgpsdk build errors on i386



Hi,

there are two compile errors for openpgpsdk on i386, while building the
debug version.

Hmm, I haven't followed what has to be used to print a size_t these
days. Is it a %zd (I haven't tested it yet) ?

    compile  lib/reader_encrypted_seip.go
cc1: warnings being treated as errors
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/reader_encrypted_seip.c: In 
function 'se_ip_data_reader':
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/reader_encrypted_seip.c:170: 
warning: format '%ld' expects type 'long int', but argument 3 has type 'size_t'
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/reader_encrypted_seip.c:170: 
warning: format '%ld' expects type 'long int', but argument 3 has type 'size_t'
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/reader_encrypted_seip.c:175: 
warning: format '%ld' expects type 'long int', but argument 3 has type 'size_t'
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/reader_encrypted_seip.c:175: 
warning: format '%ld' expects type 'long int', but argument 3 has type 'size_t'

    compile  lib/writer_encrypt_se_ip.go
cc1: warnings being treated as errors
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/writer_encrypt_se_ip.c: In 
function 'ops_write_se_ip_pktset':
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/writer_encrypt_se_ip.c:222: 
warning: format '%ld' expects type 'long int', but argument 3 has type 'size_t'
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/writer_encrypt_se_ip.c:222: 
warning: format '%ld' expects type 'long int', but argument 5 has type 'size_t'
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/writer_encrypt_se_ip.c:222: 
warning: format '%ld' expects type 'long int', but argument 3 has type 'size_t'
/src/crypto/external/bsd/openpgpsdk/dist/src/lib/writer_encrypt_se_ip.c:222: 
warning: format '%ld' expects type 'long int', but argument 5 has type 'size_t'

Bernd



Home | Main Index | Thread Index | Old Index