Skip to content
Tcl Source Code Artifact [c93e5ded92]
Login

Artifact [c93e5ded92]

Artifact c93e5ded920ce9b6c3cf8caf3cd7bfdd7c4c7af5:

Ticket change [c93e5ded92] - Ticket [419692ffffffffff|419692ffff] <i>c++ &amp; tcl.h inclusion of varargs.h</i> status still Open with 5 other changes by dgp on 2001-04-28 12:31:19.
D 2001-04-28T12:31:19
J icomment \n\nFile\sAdded\s-\s5805:\sstdarg.patch\n\nLogged\sIn:\sYES\s\nuser_id=80530\n\nThis\sreport\saccurately\sdescribes\sstandard\sC++.\s\sIn\sfact,\nin\sour\sown\sC++\scode\sthat\sembeds\sthe\sTcl\slibrary,\swe\nalways\sinclude\stcl.h\slike\sso:\n\n#ifdef\s__cplusplus\nextern\s"C"\s{\n#\s\sifndef\sHAS_STDARG\n#\s\s\s\sdefine\sHAS_STDARG\n#\s\sendif\n#endif\n\n#include\s<tcl.h>\n\n#ifdef\s__cplusplus\n}//\send\sof\sextern\s"C"\n#endif\n\nHowever,\sTcl\shas\sa\shistory\sof\ssupporting\slots\sof\nnonstandard\scompilers.\s\sLines\s206-208\sof\stcl.h\nindicate\sthat\sat\sleast\sat\sone\stime\sit\swas\suseful\nto\ssupport\sa\scompiler\sthat\sdefined\s__cplusplus,\nbut\spreferred\s<varargs.h>\sto\s<stdarg.h>.\n\nUnfortunately\sthose\slines\sdate\sback\sto\sthe\spre-CVS\ndays\sof\sTcl,\sso\sI\scan't\sretrieve\sany\sCVS\shistory\sthat\nexplains\stheir\spurpose.\n\nI\shave\sno\sobjection\sto\sthe\srequest,\sbut\sI\swould\slike\nto\sunderstand\sthe\spurpose\sof\slines\s206-208\sbefore\swe\n(effectively)\syank\sthem\sout.\n\nIn\scase\swe\sdecide\sto\sgo\sahead\swith\sthis,\sI\sattach\sthe\npatch.\n
J login dgp
J mimetype text/plain
J subsystem 69.\sOther
J username dgp
K 419692ffffffffffffffffffffffffffffffffff
U dgp
Z 418fccb9551280239d6c39dd022d36b0