Open Bug 370415 Opened 18 years ago Updated 10 months ago

warnings from building test code in NSPR

Categories

(NSPR :: NSPR, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: ray, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

These are all in: http://lxr.mozilla.org/mozilla/source/nsprpub/pr/tests I checked out the trunk, configured for Firefox, and built the tests on an intel mac with 10.4.8 and the latest dev tools. The later versions of gcc are much more aggressive in complaining about correctness issues and so, this is probably where this all comes from. FYI, I am willing to help make some of these fixes if you all are good with that. I am not just trying to make more work for you all. cltsrv.c:930: warning: 'client' may be used uninitialized in this function cvar2.c:136: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' cvar2.c:136: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRCondVar *' cvar2.c:149: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' cvar2.c:149: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRCondVar *' cvar2.c:149: warning: format '%ld' expects type 'long int', but argument 4 has type 'int' cvar2.c:230: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' cvar2.c:240: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' cvar2.c:240: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRCondVar *' cvar2.c:377: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' cvar2.c:395: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' cvar2.c:395: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRCondVar *' cvar2.c:395: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' cvar2.c:406: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' cvar2.c:977: warning: format '%ld' expects type 'long int', but argument 2 has type 'PRInt32' forktest.c:178: warning: cast to pointer from integer of different size instrumt.c:128: warning: operation on 'tCtr' may be undefined io_timeout.c:156: warning: format '%d' expects type 'int', but argument 2 has type 'long int' io_timeout.c:95: warning: 'scope_str' may be used uninitialized in this function lazyinit.c:78: warning: unused variable 'cv' lltest.c:589: warning: 'ib' is used uninitialized in this function lltest.c:592: warning: 'ub' is used uninitialized in this function lltest.c:670: warning: unused variable 'largeMinusMultCand' lltest.c:581: warning: 'ShiftCompileOnly' defined but not used mbcs.c:101: warning: pointer targets in passing argument 1 of 'PR_OpenDir' differ in signedness mbcs.c:116: warning: format '%ld' expects type 'long int', but argument 3 has type 'PROffset32' mbcs.c:120: warning: format '%ld' expects type 'long int', but argument 2 has type 'PRErrorCode' mbcs.c:120: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' mbcs.c:125: warning: format '%ld' expects type 'long int', but argument 2 has type 'PRErrorCode' mbcs.c:125: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' mbcs.c:129: warning: pointer targets in passing argument 1 of 'TraverseDirectory' differ in signedness mbcs.c:95: warning: unused variable 'err' mbcs.c:182: warning: pointer targets in passing argument 1 of 'TraverseDirectory' differ in signedness nbconn.c:228: warning: format '%ld' expects type 'long int', but argument 2 has type 'PRErrorCode' nbconn.c:228: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' nbconn.c:96: warning: unused variable 'failed_already' nbconn.c:95: warning: unused variable 'bytes_sent' nbconn.c:95: warning: unused variable 'bytes_read' nbconn.c:378: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct PRThread *' nbconn.c:461: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' nbconn.c:461: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' nbconn.c:302: warning: unused variable 'default_case' nbconn.c:571: warning: unused variable 'rv' nblayer.c:334: warning: 'my_flags' may be used uninitialized in this function nblayer.c:377: warning: unused variable 'layer' nblayer.c:420: warning: 'rv' may be used uninitialized in this function nblayer.c:478: warning: 'rv' may be used uninitialized in this function nonblock.c:198: warning: cast to pointer from integer of different size nonblock.c:242: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' nonblock.c:242: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRErrorCode' nonblock.c:252: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' nonblock.c:252: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRErrorCode' obsints.c:77: warning: unused variable 'ui64' obsints.c:76: warning: unused variable 'i64' obsints.c:75: warning: unused variable 'ui32' obsints.c:74: warning: unused variable 'i32' obsints.c:73: warning: unused variable 'ui16' obsints.c:72: warning: unused variable 'i16' obsints.c:71: warning: unused variable 'ui8' obsints.c:70: warning: unused variable 'i8' obsints.c:69: warning: unused variable 'ui' obsints.c:68: warning: unused variable 'uin' obsints.c:67: warning: unused variable 'in' op_noacc.c:94: warning: control reaches end of non-void function peek.c:170: warning: cast from pointer to integer of different size peek.c:334: warning: cast to pointer from integer of different size perf.c:183: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' perf.c:196: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' perf.c:207: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' perf.c:220: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' perf.c:240: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRThread *' perf.c:254: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRThread *' perf.c:296: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' perf.c:296: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRSemaphore *' perf.c:299: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' perf.c:299: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRSemaphore *' perf.c:308: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' perf.c:336: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRThread *' perf.c:351: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct PRThread *' pipepong.c:72: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' poll_nm.c:253: warning: cast to pointer from integer of different size poll_nm.c:263: warning: cast to pointer from integer of different size provider.c:1134: warning: 'client' may be used uninitialized in this function prpoll.c:72: warning: cast from pointer to integer of different size prpoll.c:181: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness prpoll.c:232: warning: cast to pointer from integer of different size prpoll.c:241: warning: cast to pointer from integer of different size prpoll.c:250: warning: cast to pointer from integer of different size ranfile.c:171: warning: format '%04ld' expects type 'long int', but argument 4 has type 'PRUint32' ranfile.c:411: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRIntervalTime' ranfile.c:418: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRUint32' ranfile.c:418: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRUint32' ranfile.c:418: warning: format '%ld' expects type 'long int', but argument 5 has type 'PRUint32' randseed.c:83: warning: unused variable 'i' sel_spd.c:222: warning: format '%d' expects type 'int', but argument 4 has type 'struct PRFileDesc *' sel_spd.c:234: warning: format '%d' expects type 'int', but argument 4 has type 'long int' sel_spd.c:245: warning: format '%d' expects type 'int', but argument 4 has type 'long int' sel_spd.c:266: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' sel_spd.c:266: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' sel_spd.c:266: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' sel_spd.c:266: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int' sel_spd.c:266: warning: format '%d' expects type 'int', but argument 7 has type 'long unsigned int' sel_spd.c:144: warning: 'sock' may be used uninitialized in this function sel_spd.c:323: warning: format '%d' expects type 'int', but argument 4 has type 'struct PRFileDesc *' sel_spd.c:334: warning: format '%d' expects type 'int', but argument 4 has type 'struct PRFileDesc *' sel_spd.c:345: warning: format '%d' expects type 'int', but argument 4 has type 'long int' sel_spd.c:355: warning: format '%d' expects type 'int', but argument 4 has type 'long int' sel_spd.c:462: warning: implicit declaration of function 'getopt' sel_spd.c:493: warning: format '%d' expects type 'int', but argument 3 has type 'long int' sel_spd.c:493: warning: format '%d' expects type 'int', but argument 4 has type 'long int' sel_spd.c:495: warning: format '%d' expects type 'int', but argument 3 has type 'long int' sel_spd.c:495: warning: format '%d' expects type 'int', but argument 4 has type 'long int' sel_spd.c:530: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int' sel_spd.c:530: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int' sel_spd.c:530: warning: format '%u' expects type 'unsigned int', but argument 6 has type 'long unsigned int' sel_spd.c:530: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long unsigned int' sel_spd.c:530: warning: format '%u' expects type 'unsigned int', but argument 8 has type 'long unsigned int' sel_spd.c:530: warning: format '%u' expects type 'unsigned int', but argument 9 has type 'long unsigned int' sel_spd.c:541: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' sel_spd.c:541: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int' sel_spd.c:541: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int' sel_spd.c:541: warning: format '%u' expects type 'unsigned int', but argument 6 has type 'long unsigned int' sel_spd.c:541: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long unsigned int' sel_spd.c:542: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' sel_spd.c:553: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int' sel_spd.c:553: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int' sel_spd.c:553: warning: format '%u' expects type 'unsigned int', but argument 6 has type 'long unsigned int' sel_spd.c:553: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long unsigned int' sel_spd.c:553: warning: format '%u' expects type 'unsigned int', but argument 8 has type 'long unsigned int' sel_spd.c:553: warning: format '%u' expects type 'unsigned int', but argument 9 has type 'long unsigned int' sel_spd.c:564: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' sel_spd.c:564: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int' sel_spd.c:564: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int' sel_spd.c:564: warning: format '%u' expects type 'unsigned int', but argument 6 has type 'long unsigned int' sel_spd.c:564: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long unsigned int' sel_spd.c:565: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' selct_nm.c:204: warning: cast to pointer from integer of different size selct_nm.c:214: warning: cast to pointer from integer of different size select2.c:308: warning: return type of 'main' is not 'int' semaerr.c:94: warning: format '%d' expects type 'int', but argument 3 has type 'long int' semaerr1.c:106: warning: format '%d' expects type 'int', but argument 3 has type 'long int' sendzlf.c:61: warning: cast from pointer to integer of different size sendzlf.c:219: warning: cast to pointer from integer of different size server_test.c:141: warning: left-hand operand of comma expression has no effect server_test.c:141: warning: left-hand operand of comma expression has no effect server_test.c:141: warning: statement with no effect server_test.c:153: warning: left-hand operand of comma expression has no effect server_test.c:153: warning: left-hand operand of comma expression has no effect server_test.c:153: warning: statement with no effect server_test.c:160: warning: left-hand operand of comma expression has no effect server_test.c:160: warning: left-hand operand of comma expression has no effect server_test.c:160: warning: left-hand operand of comma expression has no effect server_test.c:160: warning: statement with no effect server_test.c:182: warning: left-hand operand of comma expression has no effect server_test.c:182: warning: left-hand operand of comma expression has no effect server_test.c:182: warning: left-hand operand of comma expression has no effect server_test.c:182: warning: statement with no effect server_test.c:190: warning: statement with no effect server_test.c:201: warning: statement with no effect server_test.c:215: warning: left-hand operand of comma expression has no effect server_test.c:215: warning: statement with no effect server_test.c:237: warning: left-hand operand of comma expression has no effect server_test.c:237: warning: statement with no effect server_test.c:254: warning: left-hand operand of comma expression has no effect server_test.c:254: warning: statement with no effect server_test.c:266: warning: left-hand operand of comma expression has no effect server_test.c:266: warning: statement with no effect server_test.c:329: warning: statement with no effect server_test.c:347: warning: statement with no effect server_test.c:392: warning: left-hand operand of comma expression has no effect server_test.c:392: warning: statement with no effect server_test.c:401: warning: statement with no effect server_test.c:411: warning: statement with no effect server_test.c:424: warning: left-hand operand of comma expression has no effect server_test.c:424: warning: statement with no effect server_test.c:438: warning: left-hand operand of comma expression has no effect server_test.c:438: warning: left-hand operand of comma expression has no effect server_test.c:438: warning: statement with no effect server_test.c:481: warning: left-hand operand of comma expression has no effect server_test.c:481: warning: left-hand operand of comma expression has no effect server_test.c:481: warning: statement with no effect server_test.c:572: warning: return type defaults to 'int' server_test.c:535: warning: 'do_workUK' defined but not used server_test.c:542: warning: 'do_workKU' defined but not used server_test.c:549: warning: 'do_workKK' defined but not used servr_kk.c:107: warning: left-hand operand of comma expression has no effect servr_kk.c:107: warning: left-hand operand of comma expression has no effect servr_kk.c:107: warning: statement with no effect servr_kk.c:119: warning: left-hand operand of comma expression has no effect servr_kk.c:119: warning: left-hand operand of comma expression has no effect servr_kk.c:119: warning: statement with no effect servr_kk.c:126: warning: left-hand operand of comma expression has no effect servr_kk.c:126: warning: left-hand operand of comma expression has no effect servr_kk.c:126: warning: left-hand operand of comma expression has no effect servr_kk.c:126: warning: statement with no effect servr_kk.c:148: warning: left-hand operand of comma expression has no effect servr_kk.c:148: warning: left-hand operand of comma expression has no effect servr_kk.c:148: warning: left-hand operand of comma expression has no effect servr_kk.c:148: warning: statement with no effect servr_kk.c:156: warning: statement with no effect servr_kk.c:167: warning: statement with no effect servr_kk.c:181: warning: left-hand operand of comma expression has no effect servr_kk.c:181: warning: statement with no effect servr_kk.c:203: warning: left-hand operand of comma expression has no effect servr_kk.c:203: warning: statement with no effect servr_kk.c:220: warning: left-hand operand of comma expression has no effect servr_kk.c:220: warning: statement with no effect servr_kk.c:232: warning: left-hand operand of comma expression has no effect servr_kk.c:232: warning: statement with no effect servr_kk.c:306: warning: statement with no effect servr_kk.c:324: warning: statement with no effect servr_kk.c:369: warning: left-hand operand of comma expression has no effect servr_kk.c:369: warning: statement with no effect servr_kk.c:378: warning: statement with no effect servr_kk.c:388: warning: statement with no effect servr_kk.c:401: warning: left-hand operand of comma expression has no effect servr_kk.c:401: warning: statement with no effect servr_kk.c:415: warning: left-hand operand of comma expression has no effect servr_kk.c:415: warning: left-hand operand of comma expression has no effect servr_kk.c:415: warning: statement with no effect servr_kk.c:458: warning: left-hand operand of comma expression has no effect servr_kk.c:458: warning: left-hand operand of comma expression has no effect servr_kk.c:458: warning: statement with no effect servr_kk.c:505: warning: 'do_workUU' defined but not used servr_kk.c:512: warning: 'do_workUK' defined but not used servr_kk.c:519: warning: 'do_workKU' defined but not used servr_ku.c:108: warning: left-hand operand of comma expression has no effect servr_ku.c:108: warning: left-hand operand of comma expression has no effect servr_ku.c:108: warning: statement with no effect servr_ku.c:120: warning: left-hand operand of comma expression has no effect servr_ku.c:120: warning: left-hand operand of comma expression has no effect servr_ku.c:120: warning: statement with no effect servr_ku.c:127: warning: left-hand operand of comma expression has no effect servr_ku.c:127: warning: left-hand operand of comma expression has no effect servr_ku.c:127: warning: left-hand operand of comma expression has no effect servr_ku.c:127: warning: statement with no effect servr_ku.c:149: warning: left-hand operand of comma expression has no effect servr_ku.c:149: warning: left-hand operand of comma expression has no effect servr_ku.c:149: warning: left-hand operand of comma expression has no effect servr_ku.c:149: warning: statement with no effect servr_ku.c:157: warning: statement with no effect servr_ku.c:168: warning: statement with no effect servr_ku.c:182: warning: left-hand operand of comma expression has no effect servr_ku.c:182: warning: statement with no effect servr_ku.c:204: warning: left-hand operand of comma expression has no effect servr_ku.c:204: warning: statement with no effect servr_ku.c:221: warning: left-hand operand of comma expression has no effect servr_ku.c:221: warning: statement with no effect servr_ku.c:233: warning: left-hand operand of comma expression has no effect servr_ku.c:233: warning: statement with no effect servr_ku.c:307: warning: statement with no effect servr_ku.c:325: warning: statement with no effect servr_ku.c:370: warning: left-hand operand of comma expression has no effect servr_ku.c:370: warning: statement with no effect servr_ku.c:379: warning: statement with no effect servr_ku.c:389: warning: statement with no effect servr_ku.c:402: warning: left-hand operand of comma expression has no effect servr_ku.c:402: warning: statement with no effect servr_ku.c:416: warning: left-hand operand of comma expression has no effect servr_ku.c:416: warning: left-hand operand of comma expression has no effect servr_ku.c:416: warning: statement with no effect servr_ku.c:459: warning: left-hand operand of comma expression has no effect servr_ku.c:459: warning: left-hand operand of comma expression has no effect servr_ku.c:459: warning: statement with no effect servr_ku.c:531: warning: return type defaults to 'int' servr_uk.c:110: warning: left-hand operand of comma expression has no effect servr_uk.c:110: warning: left-hand operand of comma expression has no effect servr_uk.c:110: warning: statement with no effect servr_uk.c:122: warning: left-hand operand of comma expression has no effect servr_uk.c:122: warning: left-hand operand of comma expression has no effect servr_uk.c:122: warning: statement with no effect servr_uk.c:129: warning: left-hand operand of comma expression has no effect servr_uk.c:129: warning: left-hand operand of comma expression has no effect servr_uk.c:129: warning: left-hand operand of comma expression has no effect servr_uk.c:129: warning: statement with no effect servr_uk.c:151: warning: left-hand operand of comma expression has no effect servr_uk.c:151: warning: left-hand operand of comma expression has no effect servr_uk.c:151: warning: left-hand operand of comma expression has no effect servr_uk.c:151: warning: statement with no effect servr_uk.c:159: warning: statement with no effect servr_uk.c:170: warning: statement with no effect servr_uk.c:184: warning: left-hand operand of comma expression has no effect servr_uk.c:184: warning: statement with no effect servr_uk.c:206: warning: left-hand operand of comma expression has no effect servr_uk.c:206: warning: statement with no effect servr_uk.c:223: warning: left-hand operand of comma expression has no effect servr_uk.c:223: warning: statement with no effect servr_uk.c:235: warning: left-hand operand of comma expression has no effect servr_uk.c:235: warning: statement with no effect servr_uk.c:309: warning: statement with no effect servr_uk.c:327: warning: statement with no effect servr_uk.c:372: warning: left-hand operand of comma expression has no effect servr_uk.c:372: warning: statement with no effect servr_uk.c:381: warning: statement with no effect servr_uk.c:391: warning: statement with no effect servr_uk.c:404: warning: left-hand operand of comma expression has no effect servr_uk.c:404: warning: statement with no effect servr_uk.c:418: warning: left-hand operand of comma expression has no effect servr_uk.c:418: warning: left-hand operand of comma expression has no effect servr_uk.c:418: warning: statement with no effect servr_uk.c:461: warning: left-hand operand of comma expression has no effect servr_uk.c:461: warning: left-hand operand of comma expression has no effect servr_uk.c:461: warning: statement with no effect servr_uk.c:533: warning: return type defaults to 'int' servr_uu.c:108: warning: left-hand operand of comma expression has no effect servr_uu.c:108: warning: left-hand operand of comma expression has no effect servr_uu.c:108: warning: statement with no effect servr_uu.c:120: warning: left-hand operand of comma expression has no effect servr_uu.c:120: warning: left-hand operand of comma expression has no effect servr_uu.c:120: warning: statement with no effect servr_uu.c:127: warning: left-hand operand of comma expression has no effect servr_uu.c:127: warning: left-hand operand of comma expression has no effect servr_uu.c:127: warning: left-hand operand of comma expression has no effect servr_uu.c:127: warning: statement with no effect servr_uu.c:149: warning: left-hand operand of comma expression has no effect servr_uu.c:149: warning: left-hand operand of comma expression has no effect servr_uu.c:149: warning: left-hand operand of comma expression has no effect servr_uu.c:149: warning: statement with no effect servr_uu.c:157: warning: statement with no effect servr_uu.c:168: warning: statement with no effect servr_uu.c:182: warning: left-hand operand of comma expression has no effect servr_uu.c:182: warning: statement with no effect servr_uu.c:204: warning: left-hand operand of comma expression has no effect servr_uu.c:204: warning: statement with no effect servr_uu.c:221: warning: left-hand operand of comma expression has no effect servr_uu.c:221: warning: statement with no effect servr_uu.c:233: warning: left-hand operand of comma expression has no effect servr_uu.c:233: warning: statement with no effect servr_uu.c:307: warning: statement with no effect servr_uu.c:325: warning: statement with no effect servr_uu.c:370: warning: left-hand operand of comma expression has no effect servr_uu.c:370: warning: statement with no effect servr_uu.c:379: warning: statement with no effect servr_uu.c:389: warning: statement with no effect servr_uu.c:402: warning: left-hand operand of comma expression has no effect servr_uu.c:402: warning: statement with no effect servr_uu.c:416: warning: left-hand operand of comma expression has no effect servr_uu.c:416: warning: left-hand operand of comma expression has no effect servr_uu.c:416: warning: statement with no effect servr_uu.c:459: warning: left-hand operand of comma expression has no effect servr_uu.c:459: warning: left-hand operand of comma expression has no effect servr_uu.c:459: warning: statement with no effect servr_uu.c:530: warning: return type defaults to 'int' short_thread.c:79: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' short_thread.c:79: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:228: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:233: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:230: warning: label 'retry' defined but not used socket.c:221: warning: unused variable 'err' socket.c:264: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:268: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:316: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:316: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'int' socket.c:455: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'PRUint32' socket.c:507: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:523: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:581: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'PRUint32' socket.c:619: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'PRUint32' socket.c:619: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'char *' socket.c:619: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'int' socket.c:625: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'PRUint32' socket.c:625: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'char *' socket.c:625: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'int' socket.c:648: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct PRThread *' socket.c:692: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:692: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:713: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:713: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct buffer *' socket.c:713: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'int' socket.c:750: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct PRThread *' socket.c:814: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'PRUint32' socket.c:831: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:831: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'char *' socket.c:831: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'PRInt32' socket.c:846: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:846: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct buffer *' socket.c:846: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'int' socket.c:857: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:857: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'struct buffer *' socket.c:857: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'int' socket.c:882: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct PRThread *' socket.c:949: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:983: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:994: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' socket.c:994: warning: format '%2ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:996: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' socket.c:996: warning: format '%4ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1123: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' socket.c:1125: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' socket.c:1125: warning: format '%4ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1479: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:1522: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1522: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1530: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1530: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1558: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1558: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1582: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1582: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1604: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1604: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1626: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1626: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1648: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1648: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1670: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1670: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1692: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1692: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1716: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' socket.c:1716: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' socket.c:1790: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'PRUint32' socket.c:1856: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread **' socket.c:1884: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:2024: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRErrorCode' socket.c:2024: warning: format '%ld' expects type 'long int', but argument 5 has type 'PRInt32' socket.c:2114: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct PRThread *' socket.c:2151: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' socket.c:2182: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRErrorCode' socket.c:2182: warning: format '%ld' expects type 'long int', but argument 5 has type 'PRInt32' sockopt.c:82: warning: second argument of 'main' should be 'char **' sprintf.c:164: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' stack.c:88: warning: unused variable 'rv' stack.c:242: warning: unused variable 'Item' suspend.c:76: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' suspend.c:102: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' suspend.c:102: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'struct PRThread *' suspend.c:109: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' suspend.c:120: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' suspend.c:120: warning: format '%ld' expects type 'long int', but argument 4 has type 'int' suspend.c:123: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' suspend.c:123: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' suspend.c:123: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long int' suspend.c:123: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' suspend.c:124: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'void *' suspend.c:156: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' suspend.c:156: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'struct PRThread *' suspend.c:164: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' suspend.c:164: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' suspend.c:164: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long int' suspend.c:164: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' suspend.c:165: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'void *' suspend.c:201: warning: return type of 'main' is not 'int' switch.c:120: warning: 'shared' may be used uninitialized in this function testfile.c:157: warning: passing argument 3 of 'pthread_create' from incompatible pointer type testfile.c:607: warning: passing argument 2 of 'create_new_thread' from incompatible pointer type testfile.c:962: warning: implicit declaration of function 'getopt' testfile.c:959: warning: unused variable 'optind' testfile.c:958: warning: unused variable 'optarg' thrpool_server.c:364: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'PRUint32' thrpool_server.c:377: warning: 'sc_mon' is used uninitialized in this function thrpool_server.c:498: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRJob *' thrpool_server.c:515: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRJob *' thrpool_server.c:533: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' thrpool_server.c:533: warning: format '%2ld' expects type 'long int', but argument 4 has type 'PRInt32' thrpool_server.c:535: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' thrpool_server.c:535: warning: format '%4ld' expects type 'long int', but argument 4 has type 'PRInt32' thrpool_client.c:129: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' thrpool_client.c:133: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' thrpool_client.c:154: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' thrpool_client.c:158: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' thrpool_client.c:212: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRErrorCode' thrpool_client.c:212: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' thrpool_client.c:328: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'struct PRThread *' thrpool_client.c:339: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' thrpool_client.c:339: warning: format '%2ld' expects type 'long int', but argument 4 has type 'PRInt32' thrpool_client.c:341: warning: format '%2ld' expects type 'long int', but argument 3 has type 'PRInt32' thrpool_client.c:341: warning: format '%4ld' expects type 'long int', but argument 4 has type 'PRInt32' threads.c:216: warning: format '%ld' expects type 'long int', but argument 2 has type 'PRInt32' threads.c:216: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' threads.c:216: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' threads.c:216: warning: format '%ld' expects type 'long int', but argument 5 has type 'PRInt32' thruput.c:103: warning: 'sampled' may be used uninitialized in this function thruput.c:212: warning: 'sampled' may be used uninitialized in this function thruput.c:409: warning: control reaches end of non-void function timemac.c:67: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' timemac.c:67: warning: format '%02ld' expects type 'long int', but argument 5 has type 'PRInt32' timemac.c:67: warning: format '%02ld' expects type 'long int', but argument 6 has type 'PRInt32' timemac.c:67: warning: format '%02ld' expects type 'long int', but argument 7 has type 'PRInt32' timemac.c:81: warning: format '%02ld' expects type 'long int', but argument 3 has type 'PRInt32' timemac.c:81: warning: format '%02ld' expects type 'long int', but argument 4 has type 'PRInt32' timemac.c:143: warning: format '%ld' expects type 'long int', but argument 2 has type 'PRInt32' timemac.c:143: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' timetest.c:79: warning: format '%ld' expects type 'long int', but argument 4 has type 'PRInt32' timetest.c:79: warning: format '%02ld' expects type 'long int', but argument 5 has type 'PRInt32' timetest.c:79: warning: format '%02ld' expects type 'long int', but argument 6 has type 'PRInt32' timetest.c:79: warning: format '%02ld' expects type 'long int', but argument 7 has type 'PRInt32' timetest.c:94: warning: format '%02ld' expects type 'long int', but argument 3 has type 'PRInt32' timetest.c:94: warning: format '%02ld' expects type 'long int', but argument 4 has type 'PRInt32' timetest.c:279: warning: format '%ld' expects type 'long int', but argument 2 has type 'PRInt32' timetest.c:279: warning: format '%ld' expects type 'long int', but argument 3 has type 'PRInt32' y2k.c:86: warning: format '%2ld' expects type 'long int', but argument 4 has type 'PRInt32' y2k.c:86: warning: format '%02ld' expects type 'long int', but argument 5 has type 'PRInt32' y2k.c:86: warning: format '%02ld' expects type 'long int', but argument 6 has type 'PRInt32' y2k.c:86: warning: format '%02ld' expects type 'long int', but argument 7 has type 'PRInt32' y2k.c:103: warning: format '%02ld' expects type 'long int', but argument 3 has type 'PRInt32' y2k.c:103: warning: format '%02ld' expects type 'long int', but argument 4 has type 'PRInt32' zerolen.c:80: warning: cast from pointer to integer of different size zerolen.c:159: warning: cast to pointer from integer of different size zerolen.c:200: warning: cast to pointer from integer of different size zerolen.c:239: warning: cast to pointer from integer of different size gc1.c:100: warning: implicit declaration of function 'PR_AllocMemory' gc1.c:110: warning: type defaults to 'int' in declaration of 'arrayType' gc1.c:111: warning: initialization makes integer from pointer without a cast gc1.c:112: warning: excess elements in scalar initializer gc1.c:112: warning: (near initialization for 'arrayType') gc1.c:113: warning: excess elements in scalar initializer gc1.c:113: warning: (near initialization for 'arrayType') gc1.c:114: warning: excess elements in scalar initializer gc1.c:114: warning: (near initialization for 'arrayType') gc1.c:115: warning: excess elements in scalar initializer gc1.c:115: warning: (near initialization for 'arrayType') gc1.c:117: warning: excess elements in scalar initializer gc1.c:117: warning: (near initialization for 'arrayType') gc1.c:117: warning: data definition has no type or storage class gc1.c:121: warning: implicit declaration of function 'PR_InitGC' gc1.c:122: warning: implicit declaration of function 'PR_RegisterType' gc1.c:219: warning: implicit declaration of function 'PR_GC' gc1.c:220: warning: implicit declaration of function 'PR_ForceFinalize' thrashgc.c:86: warning: type defaults to 'int' in declaration of 'gcInfo' thrashgc.c:86: warning: data definition has no type or storage class thrashgc.c:110: warning: type defaults to 'int' in declaration of 'type1' thrashgc.c:112: warning: initialization makes integer from pointer without a cast thrashgc.c:112: warning: data definition has no type or storage class thrashgc.c:114: warning: type defaults to 'int' in declaration of 'type2' thrashgc.c:117: warning: initialization makes integer from pointer without a cast thrashgc.c:117: warning: data definition has no type or storage class thrashgc.c:119: warning: type defaults to 'int' in declaration of 'type3' thrashgc.c:121: warning: data definition has no type or storage class thrashgc.c:124: warning: implicit declaration of function 'PR_AllocMemory' thrashgc.c:136: warning: initialization makes pointer from integer without a cast thrashgc.c:263: warning: implicit declaration of function 'PR_InitGC' thrashgc.c:266: warning: implicit declaration of function 'PR_RegisterType' thrashgc.c:269: warning: implicit declaration of function 'PR_GetGCInfo' thrashgc.c:269: warning: assignment makes pointer from integer without a cast
Whiteboard: [build_warning]
Blocks: buildwarning

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.