Closed Bug 666638 Opened 8 years ago Closed 4 years ago

security/nss - compiler warnings on mac

Categories

(NSS :: Libraries, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: joey, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

% uname -a
Darwin banshee.local 10.7.4 Darwin Kernel Version 10.7.4: Mon Apr 18 21:24:17 PDT 2011; root:xnu-1504.14.12~3/RELEASE_X86_64 x86_64


secoid.c:1868: warning: cast from pointer to integer of different size
sha512.c:815: warning: unused variable 't1'
sha512.c:1110: warning: unused variable 't1'
rsa.c:1100: warning: unused variable 'err'
rsa.c:1099: warning: unused variable 'rv'
rsa.c:1221:2: warning: "/*" within comment
pkcs11.c:2117: warning: cast from pointer to integer of different size
pkcs11c.c:6161: warning: passing argument 3 of 'sftk_forceAttribute' discards qualifiers from pointer target type
jpakesftk.c:114: warning: 'jpake_ensureKeyType' defined but not used
lginit.c:498: warning: cast from pointer to integer of different size
lginit.c:504: warning: cast from pointer to integer of different size
lginit.c:505: warning: cast from pointer to integer of different size
pk11db.c:214: warning: cast from pointer to integer of different size
tracker.c:68: warning: cast from pointer to integer of different size
hash.c:90: warning: cast from pointer to integer of different size
pkix_crlselector.c:226: warning: cast from pointer to integer of different size
pkix_policynode.c:860: warning: cast from pointer to integer of different size
pkix_store.c:110: warning: cast from pointer to integer of different size
pkix_store.c:111: warning: cast from pointer to integer of different size
pkix_store.c:112: warning: cast from pointer to integer of different size
pkix_store.c:113: warning: cast from pointer to integer of different size
pkix_store.c:114: warning: cast from pointer to integer of different size
pkix_error.c:361: warning: cast from pointer to integer of different size
pkix_logger.c:528: warning: cast from pointer to integer of different size
pkix_pl_x500name.c:74: warning: 'pkix_pl_X500Name_ToString_Helper' defined but not used
pkix_pl_object.c:407: warning: cast from pointer to integer of different size
pkix_pl_socket.c:176: warning: cast from pointer to integer of different size
pkix_pl_socket.c:220: warning: cast from pointer to integer of different size
pkix_pl_socket.c:279: warning: cast from pointer to integer of different size
crl.c:2781: warning: unused variable 'rv2'
stanpcertdb.c:711: warning: passing argument 2 of 'common_FindCertByNicknameOrEmailAddrForUsage' discards qualifiers from pointer target type
stanpcertdb.c:721: warning: passing argument 2 of 'common_FindCertByNicknameOrEmailAddrForUsage' discards qualifiers from pointer target type

certvfy.c:715: warning: cast to pointer from integer of different size
certvfy.c:811: warning: cast to pointer from integer of different size
certvfy.c:1051: warning: cast to pointer from integer of different size
certvfy.c:1199: warning: cast to pointer from integer of different size
certvfy.c:1206: warning: cast to pointer from integer of different size
certvfy.c:1225: warning: cast to pointer from integer of different size
certvfy.c:1256: warning: cast to pointer from integer of different size
certvfy.c:1407: warning: cast to pointer from integer of different size
certvfy.c:1411: warning: cast to pointer from integer of different size
certvfy.c:1427: warning: cast to pointer from integer of different size
certvfy.c:1455: warning: cast to pointer from integer of different size
pk11cert.c:177: warning: enumeration value 'rsaPssKey' not handled in switch
pk11cert.c:177: warning: enumeration value 'rsaOaepKey' not handled in switch
pk11skey.c:923: warning: unused variable 'isToken'
pk11skey.c:919: warning: unused variable 'crv'
pk11skey.c:917: warning: unused variable 'session'
pk11skey.c:1598: warning: enumeration value 'rsaPssKey' not handled in switch
pk11skey.c:1598: warning: enumeration value 'rsaOaepKey' not handled in switch
cmsencode.c:729: warning: unused variable 'childtype'
cmsudf.c:116: warning: cast from pointer to integer of different size
cmsudf.c:122: warning: cast from pointer to integer of different size
cmsudf.c:123: warning: cast from pointer to integer of different size
hash.c:87: warning: cast from pointer to integer of different size
secutil.c:3720: warning: cast from pointer to integer of different size
secutil.c:3736: warning: cast from pointer to integer of different size
install-ds.c:255: warning: comparison with string literal results in unspecified behavior
lex.Pk11Install_yy.cpp:1066: warning: 'Pkcs11Install_yyunput' defined but not used
Whiteboard: [build_warnings]
Whiteboard: [build_warnings] → [build_warning]
I don't see these warnings when building with Xcode 7.2 on OS X 10.11.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.