Skip to content
Tcl Source Code Artifact [b9f2eb210c]
Login

Artifact [b9f2eb210c]

Artifact b9f2eb210c87b3aa0d4e5879876c9b21b547e358:

Ticket change [b9f2eb210c] - New ticket [934697ffffffffff|934697ffff] <i>OSX warnings and errors (3)</i>. by tauvan on 2004-04-14 03:50:01.
D 2004-04-14T03:50:01
J assignee mdejong
J cmimetype text/plain
J comment machine:\smac\sppc\sG4\s(1st\sPCI\s400Mhz)\sOSX\s10.1.5\n\nMy\s(3)\ssuggestion\sis:\n\s\schange\stcl.h\n\s\showever\sneed\sto\sbe\ssure\sof\sother\smachines\n\nSolves:\n\s\swarning:\snegative\sinteger\simplicitly\sconverted\sto\sunsigned\stype\n\nCondition:\n\s\s\s\s"OSX\swarnings\sand\serrors\s(1)"\snot\srequired\n\s\s\s\s"OSX\swarnings\sand\serrors\s(2)"\sperformed\n\s\s\s\squick\sfix\sperformed\n\s\s\s\strash\sprevious\sbuilds\s(not\sjust\sclean)\n\nResults\sfrom\s(2):\n\s\sw/o\s(1)\sTotal\s10602\s\sPassed\s9717\s\sSkipped\s858\s\sFailed\s27\n\s\sw/\s(1)\s\sTotal\s10602\s\sPassed\s9717\s\sSkipped\s858\s\sFailed\s27\n\nSuggestion:\n\s\schange\sexisting\scode\sto\sthis:\n#if\s!defined(NO_STDARG)\n#\s\s\sinclude\s<stdarg.h>\n#\s\s\sundef\s__va_rounded_size(TYPE)\n#\s\s\sundef\s__va_align(AP,\sTYPE)\n#\s\s\sdefine\s__va_rounded_size(TYPE)\s((sizeof\s(TYPE)\s+\s3)\s&\s\n(_BSD_SIZE_T_)(~3))\n#\s\s\sdefine\s__va_align(AP,\sTYPE)\\\n\s\s\s\s\s((((unsigned\slong)(AP))\s+\s((__alignof__\s(TYPE)\s==\s16)\s?\s15\s:\s\n3))\\\n\s\s\s\s\s\s&\s(_BSD_SIZE_T_)(~((__alignof__\s(TYPE)\s==\s16)\s?\s15\s:\s3)))\n#\s\s\sdefine\sTCL_VARARGS(type,\sname)\s(type\sname,\s...)\n#\s\s\sdefine\sTCL_VARARGS_DEF(type,\sname)\s(type\sname,\s...)\n#\s\s\sdefine\sTCL_VARARGS_START(type,\sname,\slist)\s(va_start(list,\s\nname),\sname)\n#else\n#\s\s\sinclude\s<varargs.h>\n#\s\s\sundef\s__va_rounded_size(TYPE)\n#\s\s\sundef\s__va_align(AP,\sTYPE)\n#\s\s\sdefine\s__va_rounded_size(TYPE)\s((sizeof\s(TYPE)\s+\s3)\s&\s\n(_BSD_SIZE_T_)(~3))\n#\s\s\sdefine\s__va_align(AP,\sTYPE)\\\n\s\s\s\s\s((((unsigned\slong)(AP))\s+\s((__alignof__\s(TYPE)\s==\s16)\s?\s15\s:\s\n3))\\\n\s\s\s\s\s\s&\s(_BSD_SIZE_T_)(~((__alignof__\s(TYPE)\s==\s16)\s?\s15\s:\s3)))\n#\s\s\sdefine\sTCL_VARARGS(type,\sname)\s()\n#\s\s\sdefine\sTCL_VARARGS_DEF(type,\sname)\s(va_alist)\n#\s\s\sdefine\sTCL_VARARGS_START(type,\sname,\slist)\s\\\n(va_start(list),\sva_arg(list,\stype))\n#endif\n\nSpecial\sNotes:\n\s\sThe\sdifference\sshould\sbe\s&(ing)\swith\stypecast\sof\s\n(_BSD_SIZE_T_)\n\s\sUsed\sthis\stypecast\sto\skeep\ssame\swidth\sas\ssizeof\s(hopefully)\n\s\sNot\ssure\sabout\sother\splatform\sheaders\sbut\sI\sthink\ssafe\sas\n\s\s\s\sI\sthink\sva_arg\sstandard?\n\nResults\sfrom\s(3):\n\s\sapprox.\s40\sless\swarnings\n\s\sw/o\s(1)\sTotal\s10602\s\sPassed\s9717\s\sSkipped\s858\s\sFailed\s27\n\s\sw/\s(1)\s\sTotal\s10602\s\sPassed\s9717\s\sSkipped\s858\s\sFailed\s27\n\nThanks.
J foundin obsolete:\s8.4.6
J priority 5\sMedium
J resolution None
J status Open
J submitter tauvan
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title OSX\swarnings\sand\serrors\s(3)
J type Bug
K 934697ffffffffffffffffffffffffffffffffff
U tauvan
Z 2baa2d2489ea35eec8fb08d8787b6263